It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Scriptrunner adding web section to navigation bar

tom lister Community Leader Mar 24, 2019

Hi

I want to add menu to our navigation bar which will navigate to creating a service desk issue. I have followed the notes on creating a web section and web item using script fragments but I am not seeing a new menu item and can't see what I've missed. Anyone used script runner web fragments?

Screen shots of web section and two goes at web item...

Screenshot 2019-03-24 at 16.59.45.png

Screenshot 2019-03-24 at 17.02.35.pngScreenshot 2019-03-24 at 17.03.35.png

 

 

 

2 answers

Hello @tom lister

I am unable to reproduce your issue. As you can see in the following screenshot, I copied your first screenshot and the fragment appeared for me.

Screen Shot 2019-03-28 at 3.24.17 PM.png

Are you using JIRA server? Which version of JIRA are you using?

Best,

JT

tom lister Community Leader Mar 28, 2019

Hi @Jean-Théo -Adaptavist- 

I tried this on 7.13 server on a macbook and 7.11 data centre on AWS.

I notice your field order on your config screen is different to mine.

I’ll try it again tomorrow

tom lister Community Leader Mar 28, 2019

Hi @Jean-Théo -Adaptavist- 

also just noticed you are placing a web item on the nav bar. I was trying to put a web section on there with web items attached. I wanted a drop down menu of links. 

Is that incorrect?

tom lister Community Leader Mar 29, 2019

Hi @Jean-Théo -Adaptavist- 

I can create a single web item that appears as a link on the nav bar.

Does scriptrunner allow me to create a drop down menu on the nav bar?

BR

Tom

tom lister Community Leader Mar 31, 2019

Hi @Jean-Théo -Adaptavist- 

The SDK docs say, if I’m understanding correctly, that I can use a web section to create a new tab on the navigation bar.

https://developer.atlassian.com/server/jira/platform/adding-menu-items-to-jira/

Then add my web items to it. 

Creating a script fragment web section on system.top.navigation.bar doesnt appear to work

BR

Tom

I have a similar problem. I'm trying to add a web section and it doesn't show up in the menu (I tried jira.issue.tools and transitions locations). I can add web itemas wherever i want though. Im using Jira Server 7.13.1.

Like tom lister likes this
0 votes
tom lister Community Leader Apr 23, 2019

 

 

Hi

Fresh server , repeat test...

Trying to create a web-section to add a new menu drop down to navbar.

The following config has no visible effect ( although it's possible to add a new web-item but I want a drop down list of web-items).

web-section.JPG

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Service Desk

[ Survey ] What does the future of ITSM look like? Take our survey today!

Hi all! We’re interested in learning more about your ITSM practices - what’s the current state of your ITSM practices? What are your aspirations for your IT team in the future? Which ITSM trends ar...

230 views 1 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you