If a subtask of US is changed to IN PROGREESS or CLOSED, why US status is not changing ? Edited

Hello,

I had a User Story (US) XYZ. I created 4 subtasks for the US i.e. TASK A and TASK B

I had closed TASK A and TASK B status was "IN PROGRESS".

Now I have the real problem, I did not change the actual US status, as a result, my US was still OPEN even I closed one task and another was IN PROGRESS.

 

Why does actual US status not change to IN PROGRESS as soon as we change any of its subtask status to IN PROGRESS ?  I might have the situation where both tasks are CLOSED by US is still open, this is conflict (at least for me).

 

Can you please help and guide me?

 

Regards,

Saurav

4 answers

1 vote
Jack Brickey Community Champion Nov 09, 2017

You may wish to read this article.

0 vote
Thomas Schlegel Community Champion Nov 09, 2017

Hi Saurav,

out of the box, there is no automatic transitioning between subtasks and their parent task.

The only automation is, when you move all subtasks to the rightmost column in your board, you will be asked whether the parent task should be moved also to the most right column.

You can prohibit closing the parent issue, if there are still open subtasks. This can be set as a workflow transition condition: it is called "Sub-Task Blocking Condition".

Any more automation has to be implemented by your own. There are apps that provide workflow functions to transition a parent or other linked issue automatically, but this is not working out of the box. 

Thanks, Thomas for your feedback!

We already have "Sub-Task Blocking Condition", so it will make to create the same kind of condition where if any task's status is changed to "IN PROGRESS" parent US will also move to IN PROGRESS.

Do you think this will make more sense?

Regards,

Saurav

Thomas Schlegel Community Champion Nov 09, 2017

No, it's not a condition but a workflow transition post function you have to use.

E.g. the Jira Misc Workflow Extensions provide a function called "Transition parent issue". But the app is not for free.  

0 vote

This is because you have not added any code or automation to do it.

Jira does not make assumptions about people's processes other than "ask if you want to close a parent when the last open subtask is closed".

Thanks, Nic ! Is there any automation plugin which we can use?

Regards,

Saurav

Several - JMWE, Automation, Script Runner (that one is by my company), Power Scripts.

I can't recommend one in particular for you, because I'm biased (even if I wasn't working for Adaptavist, ScriptRunner would remain my bias simply because it's the one I know best)

0 vote

With an app like Power Scripts for Jira, you can use workflow post-functions to script automated transitions for either parent or child issues. For example, you can transition a parent issue to start progress if any sub-task starts progress using SIL scripts and workflow post-functions.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Schuster
Posted Mar 28, 2018 in Jira Software

Can a company’s culture make or break agile adoption?

Can a new-to-agile team survive and thrive in a non-agile culture? If so, what advice would you give to those trying to be agile in a non-agile culture? What's the key(s) to success? Share your thoug...

13,147 views 15 13
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