Jira Automation Rule to Transition issue from status x to status y if all subtasks are resolved and ticket status has been over N days in status x

Platform Notice: Cloud Only - This article only applies to Atlassian products on the cloud platform.

Summary

Jira Automation Rule to Transition issue from status x to status y if all subtasks are resolved and ticket status has been over N days in status x

Environment

Jira Cloud

Solution

Please find the steps on how to set up the automation.

Create a New Rule:

  • Navigate to Project settings > Project automation (or Jira settings > System > Automation rules for global rules).

  • Click on Create rule.

Set the Trigger:

  • Choose Issue transitioned as the trigger.

  • Specify the transition from status X to ensure the rule only triggers when issues move into the desired status.

Add a Condition for Subtasks:

  • Add a Branch rule / related issues condition.

  • Select Sub-tasks of the current issue.

  • Within this branch, add a Condition to check if the subtask's status is Resolved. Use the Issue fields condition to check the status of each subtask.

Add a Condition for Time in Status:

  • Still, within the main rule (not within the sub-task branch), add a Condition to check if the issue has been in status X for over N days. This might require a JQL condition.

Action to Transition Issue:

  • If both conditions are met (all subtasks resolved and issue in status X for over N days), add an Action to transition the parent issue to status Y.

Please find the sample rule which can help you with the setup.

(Auto-migrated image: description temporarily unavailable)

Updated on March 14, 2025

Still need help?

The Atlassian Community is here for you.