Activate transitions on Events?

We have an internal process whereby the sub-tasks of a story transition move through our workflow independently, but we would like the story on which they are attached to transition automatically when the sub-tasks have all moved.

Essentially, I'm looking to transition stories or tasks in response to other events. I searched for plugins with no luck, and found the ability to write Listeners based on change events. However, I could not find enough APIs to transition elements in the Java code as documented.

Am I on the right track? Are events / listeners the correct way to implement triggered transitions, or is there a better way to achieve this (or none at all).

Thanks!

1 answer

1 accepted

This widget could not be displayed.

Listeners should do the job. You can also write a post function which will keep everything in the workflows itself.

Scriptrunner has a built-in script to do something similar, but only for resolve step. You can look through the code to get some ideas. It is in groovy but the APIs are same.

https://studio.plugins.atlassian.com/wiki/display/GRV/Built-In+Scripts#Built-InScripts-Transitionparentwhenallsubtasksareresolved

Thanks, that is a great place for me to start.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted 14 hours ago in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

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