Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to configure width of toplevel ops / operations bar?

Hauke Wollentin February 23, 2023

Hi Community :)

is it possible to configure the width of the toplevel bar?

Regarding the AUI docs this should be possible at all, but I don't see how.

Even on a 3440p screen the width of aui-toolbar2-primary is limited to around 600 pixels; therefore almost all buttons are shown under the "More" dropdown menu.

toplevel.png

We'd like to have more buttons (mostly ScriptRunner fragments / web items) visible outside the "More" dropdown.

Thanks in advance,
Hauke

1 answer

1 accepted

2 votes
Answer accepted
PD Sheehan
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 25, 2023

Similar to what's described here: https://confluence.atlassian.com/jirakb/add-more-workflow-transition-buttons-to-jira-issue-page-1064082957.html

You can also adjust the size of the main operations section in the opsbar by setting the configuration parameter 'ops.bar.group.size.opsbar-operations' to something other than 1 (the default)

You can even do that live with scriptrunner:

Run this ins the console and refresh an issue view page:

import com.atlassian.jira.component.ComponentAccessor
ComponentAccessor.applicationProperties.setString('ops.bar.group.size.opsbar-operations', '3')

If you want to remove a property just added with scriptrunner like the above, you need a different class:

import com.atlassian.core.ofbiz.util.OFBizPropertyUtils
OFBizPropertyUtils.getPropertySet('jira.properties', 1L).remove('ops.bar.group.size.opsbar-operations')
Hauke Wollentin March 19, 2023

Awesome, works like a charm ♥️

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, aafp, jira migration, marketing collaboration, end siloed work, streamline workflows, kerrie gottschalk, jira cloud admins, unified marketing, process visibility, team efficiency, cross-team collaboration

How Kerrie Gottschalk unified AAFP’s marketing team with Jira

At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.

Read the story
AUG Leaders

Atlassian Community Events