一、视图:添加自定义菜单
<web-item key="custom-menu" name="custom Menu" section="system.top.navigation.bar" weight="150">
<label>CUSTOM</label>
<link linkId="custom-menu">http://www.j-tricks.com</link>
<condition class="com.atlassian.jira.plugin.webfragment.conditions.UserLoggedInCondition"/>
</web-item>
<web-section key="custom-menu-section" name="custom-menu Dropdown" location="custom-menu" weight="200"></web-section>
<web-item key="custom-menu-section-item" name="custom-menu-section Item" section="custom-menu/custom-menu-section" weight="210">
<label>CUSTOM ALL PROJS</label>
<link linkId="custom.section.link">http://www.j-tricks.com/tutorials</link>
</web-item>
二、参考系统配置:system-top-navigation-plugin.xml / JiraWebActionSupport.properties
2.1 View All Projects
browseprojects.js 、backbone-paginator.js、 backbone-queryparams.js
project-type-keys.js、 autocomplete.js、 projects-api.js、 batch.js
<web-item key="project_view_all_link" name="View All Projects Link" section="browse_link/project_view_all"
i18n-name-key="webfragments.navigation.bar.project.item.view.all" weight="10">
<label key="menu.project.view.all"/>
<tooltip key="menu.project.view.all.title"/>
<link linkId="project_view_all_link">/secure/BrowseProjects.jspa?selectedCategory=all&selectedProjectType=all</link>
</web-item>
2.2 访问action:actions.xml、system-webresources-plugin.xml