Add post function for all workflow transitions

Hello!

I need to add specific post function to all of my transitions. And since the workflow is very complex, I need to manually update 100+ transitions. 

If there any way to add postfunction to every transition in a batch?

1 answer

Dont believe there is an easy way to do it.

Tried to manipulate workflow transitions a few month ago in database.

Problem is that there is no table like workflow-transitions or something.

You can find the table "jiraworkflows" but there the workflows with steps and transitions and everything is stored in xml (jiraworkflows.description).

 

Doing it in php with getting that string, analyzing it, manipulating it and writing back to database should be possible.

But i would say its more or less the same time to write such a script as it is to change 100 transitions

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,175 views 6 19
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
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