How to create a custom top bar menu with Scriptrunner?

Hi,

I am looking at how to have custom menu in the JIRA blue top bar with script runner and populate it with custom web-item.

I am able to create and place a web-item in the top bar using the location system.top.navigation.bar, but I haven't found a way to create a custom menu.

 

Roberto.

2 answers

This widget could not be displayed.

You have to do this using the "Raw XML Module" Script Fragment. There is an example in our documentation here.

Hi Adam, I followed the documentation and have been able to crate a drop-down list in the top bar. However, now that I have moved my "Run code and show a flag" web-items inside the top drop-down menu, they do not show a flag any more but show the JSON output of the REST call. As a note, these "Run code and show a flag" web-items worked fine when placed in another section like operations-top-level

Hi Roberto, This is a known issue in our backlog. Please see here for more details about this bug: https://productsupport.adaptavist.com/browse/SRJIRA-2107

 

This widget could not be displayed.

Hey Adam,

Not sure what happened with this link, but it doesn't seem like a link to Adaptavist. If you "inspect element," you'll see what I mean.

Regards smile

Apologies. I've updated the link in my answer.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

540 views 3 19
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