Skip to main content

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:

AreaName in YouTrackDescription
User profileTime TrackingConnection to the time tracking system and address of the MCP server
Issue sidebarTime TrackingTotal time of the issue, clock and form for new entries
Issue menu (…)Log TimeDialog for logging a time entry
Main menuTime TrackingWeekly timesheet with your own entries and absences
DashboardExternal Time TrackingWidget with the running clock
ProjectTime TrackingReport 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:

  1. Download the latest release from the JetBrains Marketplace
  2. Open the YouTrack administration and navigate to Apps
  3. Click Upload app zip and select the downloaded ZIP file
  4. Attach the app to the projects in which time should be tracked
warning

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.

FieldDescription
ProviderTime tracking system; currently Clockodo
Email addressE-mail address of the Clockodo user
API keyPersonal 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.

FieldRequiredDescription
DateYesPrefilled with today
DurationYesSee Duration Formats. 24 hours at most.
StartYesTime 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.
CustomerYesActive customers from Clockodo
ProjectNoActive projects of the selected customer that are not completed. Only available after a customer is selected.
ServiceYesActive services from Clockodo
DescriptionYesIn 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.

note

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​

InputMeaning
1h 30m, 1std 30min1 hour 30 minutes
1.5h or 1,5h1 hour 30 minutes
1:301 hour 30 minutes
90m or 9090 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 ClockodoEditable
Role owner or managerAll entries
Lock up to a fixed dateEntries after this date
Lock after a number of daysEntries of the last n days including today
No information from ClockodoOnly 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:

  1. The field from the app setting Estimation field, if a name is entered there
  2. The estimation field from the time tracking settings of the project
  3. A period field named Estimation
  4. 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.

note

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:

FieldDescription
TypeVacation, Sick or Sick child
From, ToPeriod, prefilled with today
Half dayOnly for absences of one day
NoteOptional, 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.

FeatureDescription
PeriodWeek or Month, the current month by default. The start of an entry is decisive.
Group byIssue, 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.
EntriesList of the individual entries, newest first; 25 at first, the rest on request
Export CSVAll 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​

PropertyValue
File nametime-report-<from>-<to>.csv
EncodingUTF-8 with BOM
SeparatorComma with the English, semicolon with the German user interface
ColumnsDate, issue, summary, person, customer, project, service, description, hours
HoursDecimal with two decimal places, for example 1.50
OrderAscending by start

Permissions​

The app uses the permissions of the respective project and also checks them on the server for every request.

AreaVisible to
Issue panel Time Tracking and Log Time dialogUsers with the Read Issue and Create Work Items permissions
Project tab Time TrackingUsers with the Update Not Own Work Items permission
Weekly timesheet, dashboard widget and profileAll 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.

SettingDefaultDescription
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 roundingOffRounds stopped clock entries to blocks of 5, 10, 15, 30 or 60 minutes.
Rounding modeRound upRound up counts every started block, Round to nearest rounds to the closest block. At least one block is always logged.
Clock reminderOffSends an e-mail notification when a clock started in an issue has been running for 1, 2, 4 or 8 hours.
warning

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 after15 minutes, Round up15 minutes, Round to nearest
2 minutes15 minutes15 minutes
7:30 minutes15 minutes15 minutes
15:01 minutes30 minutes15 minutes
31 minutes45 minutes30 minutes
45 minutes45 minutes45 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​

DataLocation
Connected account and credentials (e-mail address and API key)In YouTrack, on the user
Last selected values, cache, running clockIn YouTrack, on the user
Entries logged via the app with start, duration, description, customer, project, service and personIn YouTrack, on the issue
Time entries and absencesIn 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​

MessageMeaning
No time tracking account connectedConnect your account in the profile under Time Tracking
Clockodo rejected the credentialsThe e-mail address or API key is no longer valid; connect the account again
Clockodo rate limit reachedToo many requests in a short time; try again after a minute
The time tracking system did not respond in timeClockodo did not answer within 45 seconds
A time entry can be at most 24 hours longThe entered duration is too long
This entry cannot be edited hereThe 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.

ToolDescriptionImportant parameters and limits
time_tracking_log_timeLogs 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_clockStarts the clock for an issueIssue; optionally description, customer, project, service, billable. A running clock is stopped.
time_tracking_stop_clockStops the running clock and adds the entry to its issueAlso stops clocks that were started outside YouTrack; these are not attached to an issue
time_tracking_clock_statusTells whether the clock is running, since when and for which issue–
time_tracking_issue_timeTotal time, estimation, entries and the running clock of an issue100 entries at most, newest first
time_tracking_my_entriesYour own entries from the time tracking systemPeriod of 62 days at most, 500 entries at most
time_tracking_project_reportTime logged in a project for a date range, grouped by issue, user, customer, project or servicePeriod of 366 days at most; optionally with up to 200 individual entries. Requires Update Not Own Work Items.
time_tracking_list_optionsLists the names of the customers, projects or services, so that the assistant finds the exact name200 names at most, can be narrowed with a search term. For projects, the customer has to be given.
time_tracking_job_resultReturns the result of the tools that call the time tracking systemResults 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>"
}
}
}
}
note

After the app is installed or updated, disconnect and reconnect the assistant. Otherwise it doesn't see new tools.