Using common transitions

Often, you will have transitions that need to be made available from several different statuses in a workflow, such as the Resolve and Close transitions. In other words, these are transitions that have a common destination status but many different originating statuses.

To help you simplify the process of creating these transitions, JIRA lets you reuse an existing transition as a common transition if it has the same destination status.

Note

Common transitions are transitions that have the same destination status but different originating statuses.

A common transition has an additional advantage of ensuring that transition screens and other relevant configurations, such as validators, will stay consistent. Otherwise, you will have to constantly check the various transitions every time you make a change to one of them.

How to do it…

Perform the following steps to create and use common transitions in your workflow:

  1. Select the Simple Workflow and click on the Edit link to create a draft.
  2. Select the Diagram mode.
  3. Create a transition between two steps, for example, Open and Closed.
  4. Create another transition from a different step to the same destination step and click on the Reuse a transition tab:
    How to do it…
  5. Select the transition created in step 3 from the Transition to reuse dropdown, and click on Add.
  6. Click on Publish Draft to apply the change.

If you are running JIRA prior to JIRA 6.2, you should know that a common transition is only supported in the classic diagram mode of the workflow editor. So, what you need to do here is enter the Diagram mode and then click on the Enter classic mode option. When you create new transitions, you can select the Use Common Transition option as shown in the following screenshot:

How to do it…

See also

Refer to the Using global transitions recipe.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset