How to prevent issues from being closed while the sub-tasks are still open in Jira

Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Except Fisheye and Crucible

Summary

Problem

As a Jira Admin, you want to prevent a parent issue from being closed unless all sub-tasks are on a specific status.

Environment

Jira Cloud and Jira Server/Data Center on any version

Solution

  • Log in to Jira's administration screen: Cog Icon > Issues > Workflows.

  • Select the workflow that you would like to add the condition and Edit.

  • Select the transitions that leads to the Close status and click Conditions. In the example below, the condition will be added in the All > Done transition.

(Auto-migrated image: description temporarily unavailable)
  • On the next screen, click Add Condition and select Sub-Task Blocking Condition. Select the sub-task statuses required to allow parent issue transitions.

  • Publish the updated workflow.

Updated on April 3, 2025

Still need help?

The Atlassian Community is here for you.