Skip to main content

Require Time to Be Logged

The Require time to be logged workflow validator stops a transition until the work item has at least the time you set logged in Jira's own time tracking (the Time spent users see on the work item). It works in company-managed and team-managed spaces.

The validator reads Jira's time spent, not the app's fields. Time logged in a Time Tracking field counts only when the field also writes its worklogs to Jira's work log: with Sync logged time to Jira Time Tracking turned on, or in a bucket set.


Add the validator to a transition​

Jira's workflow editor calls validators rules, so the validator appears there as the rule Require time to be logged.

  1. Open the workflow editor

    Open the workflow you want to change in Jira's workflow editor. In a company-managed space it opens from Space settings → Workflows → Edit workflow. Select the transition on the diagram, for example Any status → Done.

  2. Add the rule

    Choose Add Rule at the top of the editor, or the + next to Validate details in the transition's panel. In the Add rule dialog, search for time or pick Time Tracking Fields - Estimates and Timesheet for Jira under Marketplace rules. Choose Require time to be logged and click Select.

    The Add rule dialog of the Jira workflow editor searched for time, with Time Tracking Fields - Estimates and Timesheet for Jira under Marketplace rules and the Require time to be logged rule marked
    The rule comes from Time Tracking Fields, listed under Marketplace rules
  3. Set the minimum required time

    The rule's form shows the transition you selected under Transition; change it there if needed. In Minimum Time Required, enter the time that must be logged before the transition can complete, in Jira's duration format: 30m, 2h, 1h 30m or any units combined, such as 2w 3d 4h. Click Add.

    The Add Rule form of Require time to be logged for the Any status to Done transition, with 2h in Minimum Time Required marked
    The minimum applies to the transition shown under Transition
  4. Update the workflow

    Choose Update workflow. Until you do, the rule is not saved and blocks nothing.

Each transition has its own minimum, so you can add the validator to several transitions, workflows and spaces, for example 15 minutes to start progress and 2 hours to finish. A transition passes when the time logged is equal to or above the minimum.

If time tracking is off in Jira, or a space's field configuration hides Time tracking, Jira counts no logged time and the validator blocks every transition it is on. The settings warn Time tracking is off in Jira in the first case.


See what users see when the transition is blocked​

With too little time logged, the transition fails with the message Requires at least and the minimum, followed by of logged work time, for example Requires at least 2h of logged work time.

A work item still In Progress with no time logged and a Transition failed flag: Requires at least 2h of logged work time
The transition is blocked until enough time is logged

Once the user logs enough time with Jira's Log work, or through a field that writes to Jira's work log, the same transition goes through.