How to prevent Jira Cloud issues moved to Done status without time logged in

You may want to enforce that every issue in Done status has time logged in. One of the possibilities to achieve that is by using Jira built-in workflow conditions.

First, you need find in your project settings the workflow to update and edit its → Done transitions. In my example below all statuses allow → Done transition:

There, in the popup dialog open Conditions:

Add a new condition:

Condition type:

Value field

Illustration:

Field:

Time spent

Condition:

>

Value:

0

Comparision type:

Number

And that’s it. Remember to publish changes to the workflow after adjusting all desired transitions (BTW: you’re not limited to → Done transitions only - you might enforce logging time at one of the previous steps as well).

After that, any attempt to put issue into Done status without time logged in will be blocked:

This solution using native Jira mechanisms has some limitations though:

  • It will work only for company-managed projects (formerly classic) - it won’t work for team-managed (formerly next-gen) as the latter have insufficient workflow condition functionalities yet

  • It doesn’t matter who has logged time - it won’t block user from transitioning issue when someone else has logged time

  • It doesn’t matter on which past status the time was logged exactly - if your workflow requires reporting time on various steps, this solution won’t cover that

Clockwork Pro provides https://herocoders.atlassian.net/wiki/spaces/CLK/pages/2623078401 which mitigates the last point - with it you can specify which exact status-to-status transitions require logging in the time first.