Hello -
In JIRA Server, the workflow status under Issues --> Issue Attributes --> Statuses seem to be in a random order (perhaps order of operation), but there isn't a good way to alphabetize these without moving them one by one.
It also looks like it's configured this way to assist in the JQL so when a user does an ORDERBY at the end of their statement, it will return the values in this order.
Is there a database script to get me the results I'm looking for or a change coming in the Server products?
Thanks in advance,
Scott
You can set the order of the transitions by setting the opsbar-sequence. You should consider using values like 0, 10, 20... in order to make it easier to make changes to the order later.
Hi @Mikael Sandberg ,
Perhaps Im entering the info incorrectly, but when I go to to view the order of buttons on the view issue screen or viewing issues returned in JQL, they are not in the order I specified via opsbar-sequence. I'm using:
To change the order of transition buttons:
To change the order of transition buttons, including additional transitions in the Workflow menu, add the property key opsbar-sequence to each workflow transitions that you wish to reorder. Each opsbar-sequence property key requires a property value that defines the order of the transition action on issue views.
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.
I'm using quantities of ten with the property value.
For instance, in the status Open, I have property key = opsbar-sequence and property value = 10, next status = 20, etc. I've even added the value of 30 to the 4th status and 40 to the 3rd status, to verify the order.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Scott McDonald the opsbar-sequence only applies to how the transitions/statuses are ordered under the Workflow buttons, it will not have any affect to filters or views. Your filters and views are ordered based on the ORDER BY.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Mikael Sandberg , you mean when I go into an issue, I should see the workflow buttons in the order I have via my opsbar-sequence definition, correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, you should see three up to two buttons for each transition that is available based on where you are in the workflow, and if you have more than two transitions available you will also see the Workflow button. The order of these buttons are controlled by opsbar-sequence.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm starting to understand. When I give the transition (ID) a value, and not edit the properties of the actual step name, I see the results I'm looking for.
And to confirm, if I ORDER BY ASC in my filter, the ops-sequence plays no part, correct? I will have to manipulate my JQL to get the results I want?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Correct, opsbar-sequence only affects the buttons, it has nothing to do with your JQLs. For those you have to use the ORDER BY.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I found this - https://jira.atlassian.com/browse/JRASERVER-5189. This appears to be available in Cloud, but no Server?
Looks like that is a system wide change and not just a specific workflow, correct?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The workaround for that issue only applies to Server/Data Center, not Cloud, so you should be able to do that. Just make sure making any changes to the database that you have a full backup in case something goes wrong.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.