dependant subtaks

Hi, I am new on Jira.
How I create a sub task that is dependant on another one? This task could be a subtask but must be executed when the main task is done. How do I manage that?

 

2 answers

0 votes

The usual thing to do is have a workflow for the main issue that includes a condition "can not close this issue when it has open sub-tasks".  That condition is a standard one available in JIRA off-the-shelf.  A second option is in JIRA Software - a main issue can be moved to done when its last sub-task is closed.

With a little bit of code (provided by add-ons), there are variants - automatically transitioning sub-tasks when a main issue changes, or changing issues based on issue links rather than sub-tasks.

So, in this case if I have task 1 and task 2 which I need to do task 2 only when task 1 is done, so I would create task 2 and subtask 1 with the rule that task 2 can not be closed until task 1 is done, is that right?

Not quite.  You'd have Task 1. 

Task 2 would be a sub-task of 1.  You would not be able to close 1 until 2 has reached a certain state.

Yes, that works! How do I do that please?

Edit the workflow for Task 1, and look at the "conditions" on the transition into "done".  You will want to add the "sub task blocking" condition to it (you don't need to worry about the sub-task workflow having this condition, or if there are no sub-tasks on a parent - if there are no sub-tasks, it won't block anything)

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,789 views 11 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot