Add post function for all workflow transitions

Gleb Kudriavtcev July 27, 2016

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

1 vote
Stefan Arnold
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2016

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