How to prevent issues from being closed while the sub-tasks are still open in Jira
Problem
As a Jira Admin, you want to prevent a parent issue from being closed unless all sub-tasks are on a specific status.
Diagnosis
Environment
Any instance of Jira using a default workflow or any workflow without the appropriate conditions set in the workflow.
Resolution
- 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.
This page is for company-managed projects
If the lower-left of your service project sidebar says you're in a team-managed project.
Learn more about the difference between company-managed and team-managed projects.
Last modified on Jan 8, 2024
Powered by Confluence and Scroll Viewport.