Moving a transition to the bottom using opsbar_sequence on one transition only Edited


i want to move one transition to the bottom if the list,

i know i can

  1. set the property to a high value
  2. set the property to a lower value for all other transitions

Is there a way to avoid the second step?

I tried setting a very high number, but this caused an error

/browse/RMATT-25 [c.a.plugin.web.DefaultWebInterfaceManager] WebItemProvider from module 'com.atlassian.jira.plugin.system.issueoperations:opsbar_transitions_factory' threw an error 'For input string: "99999999999999999"'. Web-items provided by this provider will be ignored.

Any other ideas? Its really annoying to edit all transitions just to move one down.

Thanks in advance!


1 answer

0 votes

Try a smaller number.  Obviously one higher than the others.  They're not going to be outside the 10,000 - 20,000 range unless you've changed them

What if all other Transitions have no number set?

Then setting a number higher than 0 will drop it to the end

Thanks, i will try that.
I thought i it was like this and didnt work, but i'll try that again.

I made a mistake, it's not 0, it's the transition ids, which usually start at 1 and count up in 10s.  So setting a sequence of a few hundred should work

Unfortunately this does not do the trick:

I have a workflow with a max transition id of 201.

A global transition has the id 71.

If i set that transitions ops_bar_sequence to 400 it still gets listed above the transition with the id 51.

It seems (at least Jira 7.5.3) does not order the transition buttons by transition id.

It works for me.  But I've just noticed your postings are not consistently naming the property and neither of the usages are correct.  Are you using opsbar-sequence?  Not opsbar_sequence or ops_bar_sequence 

Hey Nic, the property i set is opsbar-sequence. J

Ok, I'm lost then, as it's working fine for me.

Thanks for looking into it, i'll try it on another system on the next occasion

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Jan 08, 2019 in Jira

How to Jira for designers

I’m a designer on the Jira team. For a long time, I’ve fielded questions from other designers about how they should be using Jira Software with their design team. I’ve also heard feedback from other ...

1,091 views 4 9
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you