Unable to Transition parent status when subtask is resolved

The Issue: I'm unable to get script runner's "Transition parent when all subtasks are resolved" function to properly advance the parent status after marking a sub-task as complete. 

What I Want: The parent issue creates sub-tasks automatically when I manually change the parent status (This is already happening). However, When I "close" those subtasks I want the parent status to update automatically and continue to create the next sub-task automatically.

What I've tried: I've add the "Transition parent when all subtasks are resolved" function as a post-function upon moving the sub-task workflow to complete. I've set the "Parent action" to the next transition in line (yes, the target status is accessible from the parents current status)

How can I get this to work?

Bonus Question: Because of my complicated workflows, it would be really great if the ability to auto-change the parent status upon sub-task closure could be added/managed from within the parent workflow (As opposed to having create a separate workflow for every single sub-task, just so that the "Transition parent when all subtasks are resolved" function can point to the proper target status). Is that possible?

1 answer

1 accepted

The Answer was: On the Parent workflow, the transition that I was trying to happen automatically (When a subtask was completed) also had a transition screen associated with it. 

Therefore the change to the Parent status couldn't happen automatically because it was set to take input from a JIRA Screen during that transition. Which of course couldn't happen if it was supposed to be automatic. 

I set the screen to none on those automatic transitions, and that fixed it!

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,801 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