Changing the order (sorting) of Workflow status (Transition button) on the Issue View page
Platform Notice: Cloud - This article applies to Atlassian products on the cloud platform.
Summary
It may be necessary to change the order (sorting) of Workflow status (Transition button) on the Issue View page to provide the best user experience. This article walks through how that can be achieved.
Environment
Jira Cloud
Solution
The status transitions can be re-ordered through opsbar-sequence workflow transition property.
The addition of this property affects the order of transitions on the View issue page depending on the values added.
Below are the steps to be followed to set the opsbar-sequence workflow transition property.:
- Select the transition, as described in Transition properties document.
- Type opsbar-sequence into the Property Key field, under 'Add New Property'.
- Type a value In the Property Value field, The value must be a positive integer (starting at '0'); it defines the order of the transition buttons on issue views. Kindly Note: The transition with a lower value will be listed at the top.
- Click Add.
- Publish the Draft, and save a copy of the workflow for backup purposes.
In Team-managed projects:
- Go to Project Setting > Issue types > select Issue type.
- Click on Edit workflow.
- Select Transition and click on Properties.
- Click on Add new property and add opsbar-sequence >
- Type a value In the Property Value field, The value must be a positive integer (starting at '0'); it defines the order of the transition buttons on issue views. Kindly Note: The transition with a lower value will be listed at the top.
- Click on Save.
- Click on Update Workflow.
Note
Adding the opsbar-sequence property to a workflow transition does not change the order of these transitions in the workflow in Text edit mode. The addition of this property only affects the order of transitions on the View issue page.
Also, if the workflow has a global transition, you need to add the property to every global transition of the workflow. If there are no global transitions, you can't order the workflow status on the Issue View page even after adding the properties to the one-to-one transition between the status.
Before | After |
---|---|