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 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
Posted Wednesday in Jira

Join our webinar: How 1B+ feature flag events helped us build the new Jira

Every time you release software, there's a bit of risk – that there's a bug, that something breaks, or that the feature doesn't resonate with customers. Feature flagging helps make high stakes s...

91 views 0 1
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