JIRA Cloud Add-on: Top Menu Drop Down Example

All-In-One Support
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.
April 4, 2017

Hello!

Can someone please share an example of atlassian-connect.json which creates a drop down menu in the top level menu?

My drop down menu works fine as long as all the top bar menu items fit on the bar. At low resolutions or when there are more items on the bar, JIRA creates a "More" menu item and then the sub items from the drop down menu stop showing up.

 

Here is the "Modules setion from my json"

"modules":{
"webItems":[
{
"name":{
"value":"Main"
},
"location":"system.top.navigation.bar",
"url":"/abc",
"key":"jira-dropdown"
]
}
],
"generalPages":[
{
"name":{
"value":"Action A"
},
"url":"/actiona",
"key":"jira-actiona",
"location":"jira-dropdown/jira-section",
"weight":1
},
{
"name":{
"value":"Action B"
},
"url":"/actionb",
"key":"jira-help",
"location":"jira-dropdown/jira-section",
"weight":2
}
],
"webSections":[
{
"name":{
"value":"Main Section"
},
"location":"jira-dropdown",
"key":"jira-section"
}
]
}

1 answer

0 votes
Sam Hall
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.
April 4, 2017

Hi - since this is development related, you might want to try asking this over at: https://community.developer.atlassian.com as well if you haven't already.

Hoepfully someone over there will be able to help.

Suggest an answer

Log in or Sign up to answer