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

Still need help?

The Atlassian Community is here for you.

Ask the community

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

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

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.

         

  • 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.



Last modified on Oct 23, 2024

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.