How to add items to "More Actions" drop down menu in JIRA 6.1?

I tried to add items the "More Actions" drop down menu followed the link below:

https://developer.atlassian.com/display/JIRADEV/View+Issue+Page+Locations#ViewIssuePageLocations-existingwebsections-issueoperations

It said below:

To add your own section to the 'More Actions' drop-down menu, define a web section that includes a location attribute with the value "opsbar-operations".

For example, your web section module would contain:

<web-section key="my-custom-more-actions-section" ... location="opsbar-operations" ...>
...
</web-section>

Adding new web items to your own sections is similar to the method above for adding new web items to existing web sections. However, specify the value of your web section's key attribute as the value of your web item's section attribute. Hence, following on from the previous example, your web item would contain:

<web-item ... section="my-custom-more-actions-section" ...>
...
</web-item>
But the label did not appear in the drop down list, please advice!

2 answers

This widget could not be displayed.

Should have worked. Any typos? Or any error in the logs?

This widget could not be displayed.

Same thing was happening to me and then I realized that the web-item section should be an Atlassian section such as operations-operations as oppose to my-custom-more-...  

This worked (I like examples smile):

<web-section key="my_links_section" name="My Links Main Section" location="opsbar-operations" weight="10"/>

<web-item key="my_links_link" name="Link on My Links Main Section" section="operations-operations" weight="47">
<label>Hot Fixes</label>
<link linkId="my_links_link">http://www.atlassian.com</link>
</web-item>

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...

425 views 3 17
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