As you saw in the previous recipe, the project-tabpanel
module is deprecated and the panels created using the same are now grouped under the Add-ons section.
In JIRA7 and higher, items can be directly added into the project-centric view using the web-item
module. We have already seen the web item module earlier in this chapter. We just need to create a web item with the appropriate section in the plugin module definition.
In this recipe, we will see how to add a simple link to the project-centric navigation.
As mentioned earlier, we just need to define a web-item
module with the appropriate section and link defined in it.
For the project-centric navigation, the section is jira.project.sidebar.plugins.navigation
.
The web-item module is defined as follows:
<web-item key="jtricks-projectcentric-link" i18n-name-key="projectcentriclink.jtricks.name" section...