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

This widget could not be displayed.

I would really like an answer to this also

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

240 views 1 3
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