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. A little bit on the theory can be read at http://www.opensymphony.com/osworkflow/3.3%20Common%20and%20Global%20Actions.html.
JIRA already makes use of common actions in its default workflow. We can't modify the default workflow, but if we make a copy of it and rename the Resolve transition to New Resolve, it appears as shown in the following screenshot:
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 ways of adding common transitions.
Copy the JIRA default workflow and modify it...