We follow Atlassian Doc to create Menu plugin:
https://developer.atlassian.com/server/jira/platform/adding-menu-items-to-jira/
However, it doesn't show how to make separator for each section.
After good search around, it doesn't seem to be obvious. Can someone show us a way?
These are my current "web-section":
<web-resource key="rfc-menu-items-resources" name="rfc-menu-items Web Resources">
<dependency>com.atlassian.auiplugin:ajs</dependency>
<resource type="download" name="rfc-menu-items.css" location="/css/rfc-menu-items.css"/>
<resource type="download" name="rfc-menu-items.js" location="/js/rfc-menu-items.js"/>
<resource type="download" name="images/" location="/images"/>
<context>rfc-menu-items</context>
</web-resource>
<!-- release change management menu -->
<web-section name="RFC Links Main Section" i18n-name-key="my-links-main-section.name" key="rfc_links_section"
location="rfc_menu_links" weight="2"/>
<web-item key="rfc_menu_links" name="Link on My Links Main Section" section="system.top.navigation.bar" weight="1">
<label>Change Management</label>
<link linkId="rfc_menu_links">/secure/Dashboard.jspa?selectPageId=11406</link>
</web-item>
<web-item key="DOR_calendar_website_link" name="DOR Calendar" section="rfc_menu_links/rfc_links_section" weight="10">
<label>DOR Calendar</label>
<link linkId="DOR_calendar_website_link">/secure/Dashboard.jspa?selectPageId=11406</link>
</web-item>
<web-item key="RCR_website_link" name="Release Change Request" section="rfc_menu_links/rfc_links_section" weight="10">
<label>Release Change Request</label>
<link linkId="RCR_website_link">/projects/RCR/issues</link>
</web-item>
<web-item key="myMenuItemBeforeTheLine" ... location="YOUR_ORIGINAL_MENU_LOCATION"> ... menu option goes here ...</web-item>
<web-section key="NEW_SECTION" ... location="YOUR_ORIGINAL_MENU_LOCATION"> ...</web-section>
<web-item key="myMenuItemAfterTheLine" ... location="YOUR_ORIGINAL_MENU_LOCATION/NEW_SECTION"> ... menu options goes here ...</web-item>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.