Setting up time tracking
To make time tracking more convenient, you can enable advanced time tracking and set it up.
To do this:
- In the queue settings, go to the Time tracking tab.
- Enable Advanced time tracking.
- In Work schedule, choose one of the options.
- Click Save.
As a result, a new section called Time tracking will appear in the queue issues. All data of the Time spent issue fields will be transferred to this section.
If you disable the Advanced time tracking option, data from the Time tracking section will be moved back to the fields of the Time spent category.
Granting the permission to edit time to the assignee
By default, the logged time history can only be edited through an API request.
To allow the author of a record to edit or delete it right in the history window, enable Allow the assignee to edit logged time.
Automatically calculating the time spent on an issue when closing it
You can set up automatic calculation of the time spent on issues. If, when closing an issue, it has no time logged, the transition screen will contain the Time spent field with a filled value.
For this, enable the Automatically calculate spent time when closing the task option and set up the transition screen to the final issue status.
How the time is calculated
If this option is enabled, the time spent on an issue is calculated as follows:
- The starting point is when the issue's initial status changes to
. - The end point is when the issue status changes to
. - Between these two points, only the work time set in the work schedule is tracked.
For example, on Friday, June 1, at 9 a.m., the issue status changed from Open to In progress. On Monday, June 4, at 2 p.m., the issue status was changed to Closed. The issue queue has the following schedule set up: weekdays, 8 a.m. to 5:00 p.m.
Tracker will keep track of two time intervals: June 1, from 9 a.m. to 5 p.m., and June 4, from 8 p.m. to 2 p.m. June 2 and June 3 will be ignored, as Saturday and Sunday are weekend. As a result, the total amount of time spent on the issue will be 14 hours.
Logging the time left and the total time spent on an issue
You can add more fields to the Time tracking section:
- In the Time left field, you can specify how much longer you plan to work on the issue. To add this field, enable Automatically calculate spent time when closing the task.
- In the Overall task estimation field, you can specify the total amount of time you plan to spend on the issue. To add this field, enable Display the Time left field.
If any of these fields is used, the issue page will show the issue progress bar in the Time tracking field.
Note
The Time left and Overall task estimation fields are related as follows:
Time spent + Time left = Overall task estimation
If both fields are used, when the value in one of them changes, the value in the other field will be set automatically.
Setting up work schedules
You can set up work schedules for the issue assignees in the current queue. This data is used when automatically calculating the time spent. To set a work schedule, select the appropriate option in the Work schedule field.
If none of the schedule options suits you, you can create a custom one.
Choosing time format
By default, time is displayed as 1w 2d 3h 4m 5s: business weeks, business days, hours, minutes, and seconds. To change this format, select one of the options in the Displayed time
field.
Logging time without letters
In basic time tracking mode, you cannot just enter the time as a number and must always specify what exactly you are logging: weeks, days, minutes, or seconds.
In advanced time tracking mode, you can select the preferred time unit and enter it as a number without adding any letter. To enable this, select one of the options in the Display the Overall task estimation field field.