External Time Tracking
The External Time Tracking app connects YouTrack with external time tracking systems. Every user connects their own account and logs time without leaving YouTrack: with a form or the clock directly in the issue, in the weekly timesheet or through an AI assistant. Currently, Clockodo is supported.
How It Works
Time entries are created directly in the time tracking system, so it stays the single source of truth for all tracked time. For each issue, YouTrack only remembers which entries were logged in this issue via the app and shows them in the issue and in the project report.
The app extends YouTrack in the following places:
| Area | Name in YouTrack | Description |
|---|---|---|
| User profile | Time Tracking | Connection to the time tracking system and address of the MCP server |
| Issue sidebar | Time Tracking | Total time of the issue, clock and form for new entries |
| Issue menu (…) | Log Time | Dialog for logging a time entry |
| Main menu | Time Tracking | Weekly timesheet with your own entries and absences |
| Dashboard | External Time Tracking | Widget with the running clock |
| Project | Time Tracking | Report of the time tracked per project |
The user interface is available in English and German and follows the user's YouTrack language.
Installation
Requirements:
- YouTrack 2026.2 or later
- An account in a supported time tracking system (Clockodo) with API access
Installation:
- Download the latest release from the JetBrains Marketplace
- Open the YouTrack administration and navigate to Apps
- Click Upload app zip and select the downloaded ZIP file
- Attach the app to the projects in which time should be tracked
Always install updates over the existing app. Deleting the app removes the connected accounts and the overview of logged time on issues in YouTrack. The time entries themselves remain in the time tracking system.
Connecting an Account
Every user connects their own account. You find the form in the YouTrack profile under Time Tracking; as long as no account is connected, it also appears in the issue panel, in the Log Time dialog and in the weekly timesheet.
| Field | Description |
|---|---|
| Provider | Time tracking system; currently Clockodo |
| Email address | E-mail address of the Clockodo user |
| API key | Personal API key from the personal settings in Clockodo |
The credentials are verified with Clockodo before saving, stored in YouTrack only and never sent back to the browser. Deactivated Clockodo users and guests cannot connect an account.
After connecting, the profile shows the provider and the connected account. This is also where you disconnect again, which is only possible in your own profile. Disconnecting and connecting again discards the remembered selection, the cache and a stored clock of the user.
Logging Time
Form
You log a time entry in the Time Tracking panel in the issue sidebar, via Log Time in the issue menu or with Log Time in the weekly timesheet.
| Field | Required | Description |
|---|---|---|
| Date | Yes | Prefilled with today |
| Duration | Yes | See Duration Formats. 24 hours at most. |
| Start | Yes | Time of day, for example 9, 09:30 or 0930. For today it is prefilled so that the entry ends about now, for other days with 09:00. |
| Customer | Yes | Active customers from Clockodo |
| Project | No | Active projects of the selected customer that are not completed. Only available after a customer is selected. |
| Service | Yes | Active services from Clockodo |
| Description | Yes | In an issue prefilled with the issue ID and summary |
| Billable | – | Enabled by default, afterwards the last selected setting |
Below the time fields, the form shows the resulting period, for example 09:00 – 10:30 · 1h 30m, and points out when the entry ends in the future. If a public holiday or an absence is recorded in Clockodo for the selected day, a note appears; the entry can still be saved.
The app remembers the last selected values for customer, project, service and Billable per YouTrack project. With the app settings, customer, project and service can also be preselected from issue fields.
Only entries that are logged in an issue are attached to that issue. Entries from the weekly timesheet appear neither in the issue panel nor in the project report — not even if the description contains an issue ID.
Duration Formats
| Input | Meaning |
|---|---|
1h 30m, 1std 30min | 1 hour 30 minutes |
1.5h or 1,5h | 1 hour 30 minutes |
1:30 | 1 hour 30 minutes |
90m or 90 | 90 minutes; a number without a unit counts as minutes |
The duration is rounded to whole minutes.
Issue Panel
The panel shows the total time of the issue, the comparison with the estimation and the entries of all users with duration, person and date; the description appears as a tooltip. The three newest entries are shown at first; Show all … entries reveals the rest.
Clock
Start clock in the issue panel opens a dialog with customer, project, service, description and Billable; customer, service and description are required. With Start, the clock runs in Clockodo. The panel shows the elapsed time as long as the clock belongs to this issue, and stops it with one click.
- If another clock is already running, the dialog points this out; it is stopped when the new one starts
- When the clock is stopped, the entry is added to the issue with the customer, project and service from the start
- The clock can also be stopped in the weekly timesheet and in the dashboard widget
- Clocks that were started directly in Clockodo can be stopped in YouTrack, but are neither rounded nor attached to an issue
Editing Entries
You edit your own time entries with the pencil icon Edit entry. In the issue panel this applies to your own entries of this issue, in the weekly timesheet to all of your own finished entries — including those that were not logged via the app. If the description of an entry edited in the weekly timesheet contains the issue ID, the entry on the issue is updated right away. Entries cannot be deleted in the app.
Whether an entry can be edited depends on the editing lock in Clockodo:
| Setting in Clockodo | Editable |
|---|---|
| Role owner or manager | All entries |
| Lock up to a fixed date | Entries after this date |
| Lock after a number of days | Entries of the last n days including today |
| No information from Clockodo | Only today's entries |
The app reads the lock when the account is connected and refreshes it at most every 24 hours when the weekly timesheet is opened.
Entries Deleted in Clockodo
If one of your own entries no longer exists in Clockodo, it stays visible on the issue, struck through and with the note Deleted in Clockodo. It no longer counts toward the total time and the estimation, and appears neither in the project report nor in the results of the MCP tools.
Comparison with the Estimation
The issue panel shows what percentage of the estimation has been used; the project report shows the estimation per issue. If the estimation is exceeded, the actual value is shown, for example 130 %, and highlighted in red. The display only appears if the user may read the field and an estimation is set.
The estimation field is determined in this order:
- The field from the app setting Estimation field, if a name is entered there
- The estimation field from the time tracking settings of the project
- A period field named
Estimation - The only period field of the project apart from
Spent time
The estimation therefore also works without YouTrack's built-in time tracking. Periods are always converted with 8 hours per day and 5 days per week, independent of the work schedule in YouTrack.
The app reads the estimation field from the time tracking settings of the project as soon as someone opens an issue panel in the project. The project report and the MCP tools only know it after that.
Weekly Timesheet
The Time Tracking item in the YouTrack main menu opens the weekly timesheet with your own time entries from Clockodo — including entries that were not logged via the app.
- The week runs from Monday to Sunday and is shown with calendar week and dates. Saturday and Sunday only appear if they contain entries.
- The total is shown per day and for the whole week
- Every entry shows the period, duration, description as well as customer, project and service; entries that are not billable are marked
- Issue IDs in the descriptions are linked to the issues if the user may see the issue
- A running clock is shown with the elapsed time and can be stopped here
- From the header, you open Clockodo, log time or add an absence
Absences
Absences and public holidays from Clockodo are shown per day — all absence types, for example vacation, sickness, overtime reduction or home office. Requested absences are marked with (requested), half days with ½.
Adding an absence:
| Field | Description |
|---|---|
| Type | Vacation, Sick or Sick child |
| From, To | Period, prefilled with today |
| Half day | Only for absences of one day |
| Note | Optional, 512 characters at most |
For the type Vacation, the dialog shows the remaining vacation of the year. If the absence has to be approved in Clockodo, it is created as a request.
Cancelling an absence:
With the × on an absence, you cancel it after a confirmation. The whole absence is always cancelled, not only the day you clicked.
Dashboard Widget
The External Time Tracking widget shows the running clock with the elapsed time, start time, issue and description, and stops it on request. A clock cannot be started in the widget.
The widget syncs with Clockodo when it loads and then every 60 seconds while the tab is visible. It therefore also shows clocks that were started outside YouTrack; if their description contains an issue ID, the issue is linked.
Project Report
The Time Tracking tab in the project shows the time entries that were logged via the app for issues of this project.
| Feature | Description |
|---|---|
| Period | Week or Month, the current month by default. The start of an entry is decisive. |
| Group by | Issue, person, customer, project or service. Groups are sorted by time in descending order; entries without a value are listed under Not assigned. When grouping by issue, the estimation is shown as well. |
| Entries | List of the individual entries, newest first; 25 at first, the rest on request |
| Export CSV | All entries of the period, independent of the grouping |
Not included are entries deleted in Clockodo, entries from the weekly timesheet that are not attached to an issue, and entries of issues that the viewer may not see.
CSV Export
| Property | Value |
|---|---|
| File name | time-report-<from>-<to>.csv |
| Encoding | UTF-8 with BOM |
| Separator | Comma with the English, semicolon with the German user interface |
| Columns | Date, issue, summary, person, customer, project, service, description, hours |
| Hours | Decimal with two decimal places, for example 1.50 |
| Order | Ascending by start |
Permissions
The app uses the permissions of the respective project and also checks them on the server for every request.
| Area | Visible to |
|---|---|
| Issue panel Time Tracking and Log Time dialog | Users with the Read Issue and Create Work Items permissions |
| Project tab Time Tracking | Users with the Update Not Own Work Items permission |
| Weekly timesheet, dashboard widget and profile | All users; these areas only show the user's own account |
This way, reporters in helpdesk projects don't see who logged how much time. Project and system administrators have the permission for the report by default; grant it to other roles, for example a manager role, to give them access to the report.
App Settings
All settings are optional and can be set globally or per project.
| Setting | Default | Description |
|---|---|---|
| Customer field | – | Name of a YouTrack field whose value matches a customer of the time tracking system. The matching customer is preselected in the form. |
| Project field | – | Name of a YouTrack field whose value matches a project of the time tracking system. The matching project is preselected in the form. |
| Service field | – | Name of a YouTrack field whose value matches a service of the time tracking system. The matching service is preselected in the form. |
| Estimation field | – | Leave empty. Only for projects where the estimation field is not detected automatically: name of the period field with the estimation. |
| Clock rounding | Off | Rounds stopped clock entries to blocks of 5, 10, 15, 30 or 60 minutes. |
| Rounding mode | Round up | Round up counts every started block, Round to nearest rounds to the closest block. At least one block is always logged. |
| Clock reminder | Off | Sends an e-mail notification when a clock started in an issue has been running for 1, 2, 4 or 8 hours. |
A value in Estimation field always takes precedence over the automatic detection. If the entered field does not exist in a project, no estimation is shown there. Therefore only set it per project where the detection does not work.
Preselection from Issue Fields
The preselection applies to forms that are opened in an issue: in the issue panel, in the Log Time dialog and when starting the clock. It is not applied in the weekly timesheet, when editing, or in the MCP tools.
- The value of the issue field is compared with the names of the active customers, projects or services in Clockodo. The name must match exactly; case and leading or trailing spaces are ignored.
- Text and number fields and fields with named values are supported. For multi-value fields, the first value counts. Fields the user may not read are ignored.
- A project is only searched within the determined customer. Without a customer, Project field therefore has no effect.
- On a match, the form shows next to the field which issue field the value comes from
- If the issue field has a value for which there is no entry in Clockodo, a note appears and the last selection is kept
- If the issue field is empty, the form field is not prefilled with the last selection
In helpdesk projects, the customer is also preselected from the customer groups of the ticket. If the ticket has several customer groups, the first one is used. A customer field from the app settings takes precedence when it contains a value. If no customer in Clockodo has the name of the customer group, the last selected customer is kept. This logic also applies to the MCP tools when no customer is passed.
Clock Rounding
| Stopped after | 15 minutes, Round up | 15 minutes, Round to nearest |
|---|---|---|
| 2 minutes | 15 minutes | 15 minutes |
| 7:30 minutes | 15 minutes | 15 minutes |
| 15:01 minutes | 30 minutes | 15 minutes |
| 31 minutes | 45 minutes | 30 minutes |
| 45 minutes | 45 minutes | 45 minutes |
- The setting of the project that the issue belongs to at the time of the start applies. Later changes do not affect running clocks.
- Rounding adjusts the end of the entry. It can therefore be later than the actual time the clock was stopped.
- Manually entered durations are never rounded
Reminder for Running Clocks
Every 15 minutes, the app checks whether a clock started in an issue has exceeded the configured duration; the e-mail therefore arrives up to 15 minutes after that. The setting of the project that the issue belongs to applies.
- The notification is sent to the e-mail address in the YouTrack profile, so YouTrack needs a configured mail server
- It names the issue and the running time and contains a link to the issue
- Before sending, the app checks in Clockodo that the clock is still running
- Every clock is reminded only once
- Clocks that were started in the issue panel or by an AI assistant are covered — not those started directly in Clockodo
Synchronization
Changes made to entries directly in Clockodo are applied when the person who logged the entry opens the issue — at most every 10 minutes. Start, duration, description, Billable as well as customer, project and service are synchronized.
- Only your own entries whose start is at most 60 days ago are synchronized. Older entries are no longer updated in YouTrack.
- Entries of other users are only updated when they open the issue themselves
- If the last synchronization was more than 10 minutes ago, it may run in the background; the result then appears the next time the issue is opened
Customers, projects, services, absences, public holidays and the remaining vacation are cached per user. After 10 minutes, the list is refreshed in the background on the next request; a new customer therefore only appears the time after that when the form is opened. If a user adds or cancels an absence via the app, the display is updated immediately.
Data Storage
| Data | Location |
|---|---|
| Connected account and credentials (e-mail address and API key) | In YouTrack, on the user |
| Last selected values, cache, running clock | In YouTrack, on the user |
| Entries logged via the app with start, duration, description, customer, project, service and person | In YouTrack, on the issue |
| Time entries and absences | In Clockodo |
The requests to Clockodo are sent by the YouTrack server, not by the browser. The server therefore needs outbound access to https://my.clockodo.com.
Error Messages
| Message | Meaning |
|---|---|
| No time tracking account connected | Connect your account in the profile under Time Tracking |
| Clockodo rejected the credentials | The e-mail address or API key is no longer valid; connect the account again |
| Clockodo rate limit reached | Too many requests in a short time; try again after a minute |
| The time tracking system did not respond in time | Clockodo did not answer within 45 seconds |
| A time entry can be at most 24 hours long | The entered duration is too long |
| This entry cannot be edited here | The entry belongs to another user, is deleted or is not attached to this issue |
Error messages from Clockodo itself, for example because of an editing lock, are shown unchanged.
MCP Tools for AI Assistants
The app provides tools for AI assistants that are connected to YouTrack via the YouTrack MCP server.
| Tool | Description | Important parameters and limits |
|---|---|---|
time_tracking_log_time | Logs time on an issue, for example "log 1h 30m on DEMO-3 for the review" | Issue and duration; optionally start, description, customer, project, service, billable. 24 hours at most. |
time_tracking_start_clock | Starts the clock for an issue | Issue; optionally description, customer, project, service, billable. A running clock is stopped. |
time_tracking_stop_clock | Stops the running clock and adds the entry to its issue | Also stops clocks that were started outside YouTrack; these are not attached to an issue |
time_tracking_clock_status | Tells whether the clock is running, since when and for which issue | – |
time_tracking_issue_time | Total time, estimation, entries and the running clock of an issue | 100 entries at most, newest first |
time_tracking_my_entries | Your own entries from the time tracking system | Period of 62 days at most, 500 entries at most |
time_tracking_project_report | Time logged in a project for a date range, grouped by issue, user, customer, project or service | Period of 366 days at most; optionally with up to 200 individual entries. Requires Update Not Own Work Items. |
time_tracking_list_options | Lists the names of the customers, projects or services, so that the assistant finds the exact name | 200 names at most, can be narrowed with a search term. For projects, the customer has to be given. |
time_tracking_job_result | Returns the result of the tools that call the time tracking system | Results are available for 10 minutes |
Every tool runs with the permissions of the connected user. For the issue tools, the issue must be visible and Create Work Items granted; all tools that call the time tracking system require a connected account. These tools answer with a job ID right away; the assistant then gets the result with time_tracking_job_result.
- Customer, project and service default to the last selection of the user in the issue's project. The assistant can pass other names; they must match the names in Clockodo exactly.
- If there is neither a last selection nor a passed name, the tool rejects the request because customer and service are required
- The field mapping from the app settings (Customer field, Project field, Service field) is not applied by the tools. For the other settings, the tools use the global values.
- The issue ID is prefixed to the description automatically
- Answers are in the YouTrack language of the user
Connecting an AI Assistant
JetBrains describes how to connect AI assistants to YouTrack, including authentication with OAuth or a permanent token, in the documentation of the MCP server for YouTrack Cloud and YouTrack Server. You also find the complete address of the MCP server for this app in the YouTrack profile under Time Tracking.
For security reasons, YouTrack only offers tools of apps that are listed in the URL of the MCP server. Add the parameter customToolPackages to the URL of your YouTrack MCP server:
https://youtrack.example.com/mcp?customToolPackages=external-time-tracking
All built-in YouTrack tools keep working with this URL, so you can replace an existing YouTrack connection instead of adding a second one. If you already use tools of other apps, separate the app names with commas, for example customToolPackages=other-app,external-time-tracking.
Claude (claude.ai and Claude Desktop):
Open Settings → Connectors, remove an existing YouTrack connector and add a custom connector with the URL above. Sign in to YouTrack when you are asked to.
Claude Code:
Create a permanent token in YouTrack and run the following command:
claude mcp add --transport http youtrack "https://youtrack.example.com/mcp?customToolPackages=external-time-tracking" --header "Authorization: Bearer <token>"
Cursor, VS Code and other clients:
Add the server to the MCP configuration of the client, for example in mcp.json:
{
"mcpServers": {
"youtrack": {
"url": "https://youtrack.example.com/mcp?customToolPackages=external-time-tracking",
"headers": {
"Authorization": "Bearer <token>"
}
}
}
}
After the app is installed or updated, disconnect and reconnect the assistant. Otherwise it doesn't see new tools.