Creating common transitions in workflows
Configuring workflows can be a painful thing, especially when there are similar transitions used in 10 different places and those get changed every now and then. The change might be the simplest thing possible, such as editing just the name of the transition, but we end up modifying it in 10 places. This is where OSWorkflow's common actions come to our rescue.
Note
A little bit on the theory can be read at https://confluence.atlassian.com/display/JIRA/Configuring+Workflow#ConfiguringWorkflow-Workingwith%27commontransitions%27.
JIRA already makes use of common actions in its default workflow. We can't modify the default workflow, but we can, if we make a copy of it and rename the Resolve Issue transition to Resolve Issue – Modified. It appears as shown in the following screenshot:
Note
Note that the transition is renamed at all the three places where it appears!
In this recipe, let us look at adding a new common transition.
How to do it…
There are two...