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

0 vote

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

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

77 views 0 5
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