Jira: start time tracking when an issue moves to In Progress

Jira does not start a timer when an issue moves to In Progress. Two Jira Automation rules that log the time between transitions, and where they miscount.

Jira does not start a timer when an issue moves to In Progress. The status and the time tracking fields are separate. A transition is written to the issue history, and Time spent changes only when a worklog is added. A Start Progress button, where a workflow has one, is that same transition under another name.

There are two ways to connect them. Jira Automation can log the time between two transitions with a pair of rules. Or a tracker can react to the status change. Planim Time shows a Start Tracking? prompt when your issue moves to In Progress and stops the timer when it reaches Done.

Log the time between two transitions with Jira Automation

The rule pair needs one custom field of type Date Time Picker, called for example Work started.

Rule 1, when work begins

  1. Trigger: Work item transitioned, to In Progress.
  2. Action: Edit work item, set Work started to {{now}}.

Rule 2, when work ends

  1. Trigger: Work item transitioned, from In Progress.
  2. Action: Log work, with Time spent set to {{issue.Work started.diff(now).minutes}}m and Date started set to {{issue.Work started}}.

diff is the documented way to subtract two dates in a smart value, and it accepts minutes, hours, days and businessDays. Check the result in the rule’s audit log on a test issue before turning the rule on for a project.

What the rule logs

The rule measures the clock between two clicks on the board.

  • Lunch, nights and weekends are included. An issue moved to In Progress on Friday at 16:00 and to Done on Monday at 11:00 gets 67 hours. businessDays counts whole days, so it does not fix a worklog measured in hours.
  • Parallel issues each get the full time. With three issues in In Progress, one afternoon is logged three times.
  • The worklog belongs to the rule’s actor. By default that is Automation for Jira, so the hours are missing from worklogAuthor = currentUser() filters and from per-person reports until the actor is changed in the rule details.
  • Anyone who moves the card starts the clock. A lead who drags issues into In Progress during planning starts time on all of them.

The cause is the same in all four cases. A transition says the issue changed state, and the rule counts the whole interval as work.

Planim Time responds to the same transition with a prompt. When one of your issues moves into a status on the Trigger on list, a Start Tracking? notification appears, and one click starts the timer on that issue. The timer runs until you stop it or until the issue reaches a status on the Auto-stop on list, and the worklog goes to Jira under your name with the real start time. Both lists are in Settings under Automation.

Automation settings in Planim Time: Status alerts with an Auto-stop on list, Auto-suggest with a Trigger on list, Periodic check and Auto-push on stopAutomation settings in Planim Time: Status alerts with an Auto-stop on list, Auto-suggest with a Trigger on list, Periodic check and Auto-push on stop

Time in status is a different number

If the goal is to see how long issues sit in In Progress, no worklog is needed. Jira keeps every transition in the issue history, and the statusCategoryChangedDate field holds the moment the issue last changed status category. Atlassian’s knowledge base has a rule that turns those into a time-in-status value, and the control chart reads the same history.

That number is how long the issue waited. Time spent is how many hours of work went into it, and it is built only from worklogs. Time tracking reports, Original estimate against Time spent and anything billed read the second number.

Setting up status-driven tracking in Planim Time

Three settings under Automation control this.

Auto-suggest. The Trigger on list holds the statuses that mean work is starting. In Progress and Testing are there from the start, and you add your workflow’s own names, such as In Development or Code Review. An issue assigned to you that enters one of them raises one Start Tracking? prompt for that transition.

Status alerts. The Auto-stop on list holds the statuses that mean work is finished, with Done as the default. When the issue you are tracking enters one, the timer stops and a Timer Stopped notification tells you so.

Auto-push on stop. With it on, the worklog is sent to Jira when the timer stops. With it off, the entry waits in the app until you press Push.

The link also works in the other direction. Move status on start transitions the issue when you press play, so starting the timer on a To Do issue puts it into In Progress on the board, and Move status on stop does the same when the timer stops.

The start is a prompt and the stop is not because a move to Done means the work is over, while a move to In Progress often happens in planning, before anyone opens the code. The wider picture of what trackers automate is in Automated time tracking in Jira, and the timer itself is covered in Jira timer.

Frequently asked questions

Does Jira start time tracking when an issue moves to In Progress?
No. A status change and time tracking are separate in Jira. The transition is written to the issue history, and Time spent changes only when someone adds a worklog. Nothing in Jira's own time tracking starts or stops a clock on a transition.
Can Jira Automation log work when the status changes?
Yes. One rule stores the current time in a custom date-time field when the issue enters In Progress. A second rule fires when the issue leaves In Progress and uses the Log work action with the difference between that field and now. The result is elapsed clock time between the two transitions, including lunch, nights and weekends.
Who is the author of a worklog created by an automation rule?
The rule's actor. By default that is Automation for Jira, so the hours are not attributed to the person who did the work and do not match worklogAuthor = currentUser() in filters and reports. The actor can be changed in the rule details.
Is time in status the same as time spent?
No. Time in status is how long the issue sat in a status, read from the issue history. Time spent is the sum of worklogs. An issue can stay In Progress for three days with two hours of work logged on it, and reports built on worklogs only see the two hours.
What does the Start Progress button do in Jira?
It is a workflow transition that moves the issue to In Progress. It does not start a timer and writes nothing to Time tracking. To record time you still add a worklog, by hand or through a tool that uses the worklog API.