How to set "ops.bar.group.size.opsbar-transitions" property in jira-config.properties

I'm hosting JIRA 4.4.4, currently with no properties file in the home directory. As I understand it, I need to create a properties file and store it in the home directory for this to work. What I'm trying to achieve is an operations bar with a limit of 5 buttons before the workflow button appears. I've copied and examined the jpm.xml file in my installation, there is no mention of "ops.bar".

Current documentation says to copy the value from jpm.xml and set it in the new properties file I would make. So, two questions:

1. If "ops.bar.group.size.opsbar-transitions" isn't present in my current "jpm.xml", will setting this value in my properties file even work?

2. Also, if it will work, what is the exact syntax I should be using to set this value in the properties file (should there be xml tags or not)? eg. ops.bar.group.size.opsbar-transitions = 5

2 answers

1 accepted

1 votes
ops.bar.group.size.opsbar-transitions = 5

should do it.

Confirmed, it works exactly as entered above. Thanks!

Would it be possible to provide an example of a file for JIRA 4.4.4 as when i try that line in a file called jira-config.properties it prevents JIRA from starting properly but displays in the properties list in the log files.

Actually the property you have mentioned (ops.bar.group.size.opsbar-transitions) would determine the number of workflow transitions not the number of standard operations before the workflow buttons. You can set the number of each one like this in JIRA 6.x:

1- create an empty text file in you JIRA home directory.

2- change its name to jira-application.properties

3- add the following lines to it (and change the values to meet your needs)

# This is the size of the 'Actions' group in the 'Operations' bar:
#
ops.bar.group.size.opsbar-operations = 2
# This is the size of the 'Workflow' group in the 'Operations' bar:
#
ops.bar.group.size.opsbar-transitions = 2

 

Notice that you can also change the priority of the operation in the standard operations and in workflow operations look for the To change the order of transition buttons section.

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,897 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot