Define dependency between subtasks to restrict closure of Task A unless task B is closed.

How to define dependency between two subtasks (Task A and Task B) under an issue such that task A cannot be closed until and unless task B is closed.

3 answers

1 accepted

Hello Dinesh Agarwal

Sorry for the delay.
Currently, JIRA only has an option to prevent the parent issue to be closed while there are still subtasks opened, however, this doesn't apply to other sub-tasks I'm afraid. An example of the current parrent-subtask condition can be found on this KB: https://confluence.atlassian.com/jirakb/preventing-issues-from-being-closed-while-their-sub-task-are-still-open-724928276.html

Best regards,

Lameck.

Dinesh Agarwal,

I will dig a little and comeback with your answer.

Regards,

Lameck.

Use a Conditioned validator from Update on Transition for JIRA on the close issue transition. Configure a JQL query that finds issues that you care about that are not closed and if that query returns more than 0 have validator to fail with the appropriate message. Here is an example: How to use JQL to create a validator.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Trello

Get inspired with Trello & earn free Gold

A blank Trello board can be both a beautiful and intimidating thing. How many lists should I have? Is creating 10 labels overkill? How can I best track my progress? Is there a way...

29 views 0 3
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you