Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Prevent Ticket from being Done if any children are still open

Lewkowicz_ Jennifer
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2025

As said in title, I am trying to figure out the best way to handle this solution. I have been trying to do automation but I can't figure it out. The children items are not just sub-tasks. Some are defects, tasks, and stories. 

2 answers

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Champion
November 20, 2025

Hello @Lewkowicz_ Jennifer 

Welcome to the Atlassian community.

You cannot use an Automation Rule to block a workflow transition.

Automation Rules are triggered after an action occurs. You could use an Automation Rule to reopen the closed item - create a rule that detects the transition to Done and check if it has any not-Done children, and transition it to a not-Done status if that is the case.

If you want to block the transition from being done you need to add a Condition/Validator/Rule to the transition to determine if all the child issues are done. There are third party apps that can add capabilities to the workflows to detect that when the children are subtasks or other issue types. Or you can create a custom field in the parent that keeps track of how many not-Done children the item has. You would use an Automation Rule to keep that field up to date. Then your workflow transition would be customized to block the transition based on the state of that custom field.

0 votes
Enric Font November 20, 2025

Dear @Lewkowicz_ Jennifer 

For block ticket from being Done if any children are still open you must to add a Condition in the transition Workflow.

Jira Cloud has this tipy of condition by default.

In the workflow transition clic on + in the Rules and select Restrict based on the status of subtasks

image.png

Add the list of states that all children must be in for the task to be DONE.

image.png

Publish the workflow changes

Trudy Claspill
Community Champion
November 20, 2025

@Enric Font 

Your solution applies only when the children are subtasks.

You may have missed that the author specifically said that the case includes scenarios where the children are not subtasks.

Like # people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events