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

This widget could not be displayed.
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.

This widget could not be displayed.

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 Sign up to answer
Community showcase
Posted 11 hours ago in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

30 views 1 2
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