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

Hello,

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 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
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

147 views 1 10
Read article

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