Adding new panels in the project-centric view

In the previous recipe, we saw how to add simple links to the project-centric navigation. This is good enough for some cases, but what if we need to show a web panel with proper logic?

This is where we can add a web panel and link to the web panel from a web item, added in the project-centric navigation.

Getting ready

Create a new skeleton plugin using AtlassianPluginSDK.

How to do it...

Following are the steps required to add a new web panel in the project-centric view.

  1. Define a web panel using the web-panel plugin module, as shown here:
           <web-panel key="jtricks-projectcentric-panel-key"        location="com.atlassian.jira.jira-projects-plugin:jtrickspanel">            <resource type="velocity" name="view" ...

Get JIRA Development Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.