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

Hello,

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!

Jens

1 answer

0 vote

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

654 views 6 12
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