The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • 4- How can we avoid that Stories or Bugs can be set on “done” when subtasks are not “closed”, “cance

4- How can we avoid that Stories or Bugs can be set on “done” when subtasks are not “closed”, “cance

Aravind Koushik Gobburu
Contributor
August 23, 2021

I would like to close the parent issue unless all the child tasks under parent tasks are set to be in DONE state. But in jira am able to close the parent ticket if child tickets are not yet solved. How can we avoid this.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Charlie Misonne
Community Champion
August 23, 2021

You will need to set a condition on the parent's close status transition in the workflow.

Several apps include capabilities to create such a transition: ScriptRunner, JMWE, ...

But if I'm not mistaken there is an out of the box condition called Sub-Task Blocking Condition.

Piotr Zadrożny _Eyzee_
Community Champion
August 23, 2021

Thats correct. you need to add new condition "Sub-Task Blocking Condition":

aaa1.png

Like Charlie Misonne likes this