Using global transitions

While a common transition is a great way to share transitions in a workflow and reduce the amount of management work that will otherwise be required, it has the following two limitations:

  • Currently, it is only supported in the classic diagram mode (if running on older JIRA versions)
  • You still have to manually create the transitions between the various

As your workflow starts becoming more complicated, explicitly creating the transitions becomes a tedious job; this is where global transitions come in.

A global transition is similar to a common transition in the sense that they both share the property of having a single destination status. The difference between the two is that the global transition is a single transition that is available to all the statuses in a workflow.

In this recipe, we will look at how to use global transitions so that issues can be transitioned to the Frozen status throughout the workflow.

Getting ready

As usual, you need to have a workflow you can edit. Since we will be demonstrating how global transitions work, you need to have a status called Frozen in your workflow, and ensure that there are no transitions linked to it.

How to do it...

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

  1. Select and edit the workflow you will be adding the global transition to.
  2. Select the Diagram mode.
  3. Select the Frozen status.
  4. Check the Allow all statuses to transition to this one option.
  5. Click on Publish Draft to apply the change.

    The following screenshot depicts the preceding steps:

    How to do it...
  6. Once you have created a global transition for a status, it will be represented as an All transition, as shown in the following screenshot:
    How to do it...

After the global transition is added to the Frozen status, you will be able to transition issues to Frozen regardless of its current status.

Note

You can only add global transitions in the Diagram mode.

See also

Refer to the recipe, Restricting the availability of workflow transitions, on how to remove a transition when an issue is already in the Frozen status.

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

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