Trigger parent transition from subtask using script runner

I use Jira and have the script runner plugin installed. I want to trigger a transition from a subtask on the parent using script runner. I know that it's easy to do with Jira Misc Workflow extensions, but I'd rather do the same function with Script Runner.

Script runner already provides to do the parent transition when all subtasks are resolved, but that's not the case in my situation.

2 answers

I would really like an answer to this also


I'm also interested in a solution to transition the parent depending on the subtasks.

Especially I want to transition the parent if all subtasks of a specific type are resolved.

However at the moment I'm trying to use a workaround with the the Script workflow function "Transition parent when all subtasks are resolved". But I'm facing the problem that this is only working if I have more than one subtask. If I have only one subtask which gets resolved the transition of the parent is not triggered, as soon as I add a second subtask and resolve this the parent is moved to the next state.

I would be grateful, if there is anybody who could provide a solution to the original question or help me with my workaround.

Thanks in advance.

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 ...

3,110 views 13 19
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