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 Sign up to answer
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,430 views 21 17
View question

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