It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Changing Order of the Workflow Transition Buttons Edited

Bryan Trummer Community Leader Apr 10, 2015

I am having an issue with this. I follow the following items list of doing so. My question or concern is where it says property values of 10,20,30 this don't match the transitions numbers (the one in the parenthesis) I want them to be in. When I use that number next to the transition it still doesn't work. I am sure I am missing something easy here.

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 transition 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.

  1. Go to the transition's properties, as described in Transition properties above.
  2. Type opsbar-sequence into the Property Key field, under 'Add New Property'.
  3. 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.
    Consider using a sequence of opsbar-sequence property values like 10, 20, 30... to allow new transitions to be easily added later.
  4. Click Add.

information 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.

9 answers

1 accepted

8 votes
Answer accepted
Nic Brough [Adaptavist] Community Leader Apr 10, 2015

The id of the transitions has nothing to do with the sequence, you can ignore them.  Use 10,20,30 in the properties, it'll work fine.

Matt Parks Jun 07, 2018

Is there a way to re-order the transitions on a Kanban board? I have two transitions from Prod Build into Done, one of which is the 'All' transition into Done, which has a transition name of 'Canceled', which sets the Resolution to Canceled. The other transition name is Done and sets the Resolution to Successful. The Done status is the only status in the column on the board.

Currently, the 'Canceled' transition is the one that is on top, but I'd like to move it to the bottom, as it is more likely that users who aren't really paying attention will drag it to the top. Unfortunately, I have not found a way to change the order of the transitions.

I tried setting the opsbar-sequence properties on the two transitions and, while this does successfully change the order of the transitions on the issue, it doesn't impact the board. I also tried changing the transition names (on the off-chance that it was sorting alphabetically), but this didn't have an impact either.

Any insight you could provide would be appreciated. If there's no way to alter the order, is it possible to hide certain transitions from the Kanban board (so they're only visible on the issue itself)?

Thanks,
Matt

Like Shane Martin likes this
Jira Administration Jan 16, 2019

Hey Matt Parks,

did you find a solution for this? We do have a "Closed" status with different resolution values like 'Work Finished' and 'Deleted' and we would like to have the 'Work Finished' option above the 'Deleted' drop zone on the Agile Board.

Like Shane Martin likes this
Matt Parks Jan 23, 2019

Unfortunately, I never did figure it out (or get an answer from someone who does know), so it seems like this is something that can't be done.

As at least one other person has mentioned, the opsbar-sequence property doesn't have an impact on Kanban boards, only on the workflow transition buttons on the issues.

There was also a suggestion to, in the column configuration, move the statuses within the column in the order that I'd like them to be, but this didn't have an impact on my board.

3 votes
Candace Phelps Jun 09, 2017

Hello Atlassian & Community,

Our team has the same question. We'd like to reorder the Workflow Transition steps to match the order in which they usually appear.

Like Bryan Trummer, I've also added the properties to each of the workflow steps as per the documentation. Like Bryan, this also did NOT reoder the Workflow Transition steps as the documentation seemed to imply it would (as suggested in the links below):

https://community.atlassian.com/t5/JIRA-questions/re-order-Issue-workflow-buttons/qaq-p/383261

https://modem7.wordpress.com/2013/10/25/reorder-jira-workflow-buttons/

a) Can someone provide an accurate solution to this question?

b) @atlassian: can you update your documentation to make it more clear? It's quite foggy. ;)

Thanks to any and all!

Candace

Nic Brough [Adaptavist] Community Leader Jun 09, 2017

I'm not sure what you're reading - the post Bryan gave from the docs is quite clear on the steps, and it works fine on both the Server and Cloud installations I've recently been working on.

The accurate solution is in the question already.

Candace Phelps Jun 09, 2017

Hi Nic,

So I've added the opsbar-sequence property values like 10, 20, 30 but this doesn't affect the order in which the values appear in the Workflow button.

I've set the values like this: To Do: 10, In Progress: 20, Ready For Testing: 30, Testing: 40, Done: 50, Cancelled: 60

I'm expecting the values to show in the dropdown in this order:

Ready For Testing, Testing, Done, Cancelled

But instead I still see them in this order: Done, Testing, Ready For Testing, Cancelled.

workflow button order steps.png

Any suggestions?

Thanks, Candace

Nic Brough [Adaptavist] Community Leader Jun 09, 2017

No suggestions, it should work (and does in my workflows)

Could you show us the property for "ready for testing" on the transition?

Candace Phelps Jun 19, 2017

Hi Nic,

Absolutely, here's a screenshot of the property for "ready for testing" (still called "Dev Done" in some places). Do you see any issues with this?

Ready For Testing - Property Key Value Pair.jpgThanks!

Candace

Patrick Busch Jul 06, 2017

Hi,

 

looks like have added it to the workflow step, but you must add it to workflow transition itself

Nic Brough [Adaptavist] Community Leader Jul 06, 2017

Patrick has it right on the nose.  All the docs say to apply properties to the transition, and that does work.

(Sorry, I didn't see the comments earlier, as Lithium's email system was broken until more recently)

Candace Phelps Jul 07, 2017

Wow, thanks Patrick and Nic. This is quite tricky to find the right feature / option, but I think I've got it now. I'm recording what I did here in case anyone else is looking for this in future:

1. Navigate to the draft workflow

Jira > Issues > Workflows

2. Click on the Transition(id) to be edited

Step 2 - click on the transition to be edited.jpg3. Click View Properties for that transition

4. Add the opsbar-sequence key with the appropriate number

e.g. For the Ready For Testing transition, I added:

opsbar-sequence = 30

Step 4 - add the opsbar sequence pair.jpg5. Click Add

6. Repeat steps #2 - #5 for the other steps that need to be reordered

Note: editing a Transition that is part of one step will update the Transition everywhere it is used.

7. When you are done your edits, click Publish Draft. You will get a popup asking if you want to save a copy of the previous version.

8. Enjoy your reordered steps! :)

Step 8 - enjoy your reordered steps.jpg

Like # people like this

Thanks Candace.
The explanation was perfect and easy to implement.

Regards.

Tim Straub Mar 25, 2019

Great explanation - works perfect.

Isaac Rickert Mar 28, 2019

Those photos helped me out a ton. I appreciate the walkthrough!

1 vote
Retmer van Dongen Jul 12, 2017

It seems that this doesn't influence the order of the Transitions in a Kanban Board if you map multiple statusses in one column. Does anybody know how to influence the vertical order of transitions there?

Bill Latham Dec 12, 2017

In the Kanban board in the Board Settings/Columns, you can drag and drop the stacked workflow states into your preferred order.

1 vote
Matt O'Toole Feb 27, 2018

It also doesn't appear to work when you've got a workflow where all statuses can lead to any other status. 

 

Attached is our current Engineering workflow.Screen Shot 2018-02-27 at 14.16.36.png

 

And yet, the drop-down is a completely different order and I've set the ops_sequence key from 10=>140 for all the above statuses.

Screen Shot 2018-02-27 at 14.17.21.png

 

It's frustrating our engineers....

Eric Rogier-Lacroix Apr 13, 2018

check obsbar-sequence versus obsbar_sequence that you mentionned

hope it helps :-)

Beth Park Jan 28, 2019

I just went through the process for obsbar sequence (thank you to all with this advice!) and that helped me get the order consistent.  When all statuses can move to every other status, than the Workflow order will be static.  One thing that I did was to include a number in the name of the workflow, status, and transition.  

Workflow Status.png

(Yes - this is a ridiculous number of steps. We are trying to separate work that is actively in progress for separate teams from work that is not.  I may go through and refine the transitions to limit movement between the statuses.  This is my first attempt at a custom workflow in Jira.)

0 votes
Shea Martin May 29, 2017

This doesn't seem to work in the Cloud instance.

Nic Brough [Adaptavist] Community Leader May 29, 2017

Are you spellling the property correctly?  That's the mistake I usually make.

0 votes

It seems that doesn't influence the order of the Update Parent Issue in a Scrum Board when the last sub-task is closed if you map multiple statuses in last column.

update parent issue.PNG

0 votes
Urszula Forenc Aug 17, 2018

Hi, what does it mean, when opsbar-sequence is 11 or 21?

Nic Brough [Adaptavist] Community Leader Aug 17, 2018

It means the property has that value.  I'm not sure what your question is.

Urszula Forenc Aug 19, 2018

Sorry, I was not specific. I mean, that 20 is that button is on a second position, 30 on a third.... But when it is 21 or 31? What is this 1?

Nic Brough [Adaptavist] Community Leader Aug 20, 2018

It's a number.  21 is smaller than 31.  The actual number is not important, just that it's larger or smaller than another

Urszula Forenc Aug 20, 2018

Ok, thank you.

Great solution, 

In my case, just I needed to move one of them, for that, only add the value opsbar-sequence in the transition I wanted to move.

1.png

2.png

3.png

4.png

Nic Brough [Adaptavist] Community Leader Aug 21, 2018

Set the number to be lower than the one you want it to appear before.

Excellent!!!

Thanks in advanced

Barbara T Aug 21, 2018

Hi folks, do you make the opsbar change on the transition (link) or the state (button) itself? I always get confused because I thought I see the option on both.

Nic Brough [Adaptavist] Community Leader Aug 21, 2018

The state button does not really exist, it's a list of transitions with the end state displayed instead of the transition name.   You need to alter the transition order, but I'm not sure the button takes any account of it.

0 votes
Anna Széles Jan 10, 2019

We are using JIRA cloud. My plan was to have "Done" on the top and "Rejected" on the bottom of the 'Done" column on the board. None of the before mentioned solutions worked, however as I made the workflow Simplified (Board settings:Column management: Simplify workflow) it got solved. I hope this is helpful.

I resolved it with the opsbar-sequece. I Have my answer in a upper post.

Shane Martin I'm New Here Jan 22, 2019 • edited

Even setting opsbar-sequence for me (in Cloud) didn't change the order the statuses appear in a shared column either? Is opsbar-sequence the right one to set? it doesn't change the transition id (i.e. 11, 21, 31 etc..) that seems to be controlling the order.

Fummi Apr 23, 2019

Hi Nic, I have added the ops-bar sequence option but still I don't see my workflow statuses in the drop down. I know you mentioned this should be done in the transition section as well. But how do you this? I have updated the property keys and values for all my workflow steps but it is still not showing as a drop down. Please help.

Fummi Apr 23, 2019

Basically, I want to be able to see my statuses in a drop down like this picture. How can I do it?

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Jira

Try Jira Cloud for Outlook: Organize your work without leaving your inbox

Hi Atlassian community, My name is Max and I work on the product integration team at Atlassian. I am pleased to announce the early access program for the Jira Cloud add-in for Outlook. This add-in...

2,133 views 6 15
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you