Preventing Issues advancing to Done if sub-task not complete

Ed Green December 8, 2017

How do you prevent an Issue advancing to Done if the sub-task isn't Done? Note that I've also made the sub-task a blocker of the main Issue.

3 answers

1 vote
Thomas Schlegel
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 8, 2017

Hi @Ed Green,

I think the workflow-condition "Sub-Task Blocking Condition" is there out of the box.

Add this condition to the workflow steps, which are leading to the status "Done".

If there are open subtasks then, you won't see the closing transition of the parent issue.

0 votes
Johnson Wang December 11, 2017

Hey @Ed Green,

One other option for doing this is to use the Power Scripts add-on.

Here's a step-by-step guide on how to prevent an issue from closing unless all sub-tasks are closed.

Hope this helps!

Johnson

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 8, 2017

Hello,

You can not make it out of the box. You would need an addon. For example, if you have Adaptivist ScriptRunner, then you can use "All sub-tasks must be resolved" condition. You can read more here

https://scriptrunner.adaptavist.com/latest/jira/builtin-scripts.html#_all_sub_tasks_must_be_resolved

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events