I tried to add items the "More Actions" drop down menu followed the link below:
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
>
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 ):
<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>
Should have worked. Any typos? Or any error in the logs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.