Adding new tabs in the Browse Version screen
In this recipe, we will see how to add a new tab in the Browse Version screen. This screen holds details of a particular version in JIRA.
Getting ready
Create a new skeleton plugin using Atlassian Plugin SDK.
How to do it...
The following are the steps to create a new version tab panel. It is much similar to creating a new project tab panel, except for the obvious changes in the files and keywords involved.
Define the
Version
Tab
Panel
in theatlassian-plugin.xml
.<version-tabpanel key="jtricks-version-panel" i18n-name-key="versionpanels.jtricks.name" name="jtricks Version Panel" class="com.jtricks.JTricksVersionTabPanel"> <description>A sample Version Tab Panel</description> <label>JTricks Panel</label> <order>900</order>
<resource type="velocity" name="view" location="templates/version/version-panel.vm" /> </version-tabpanel>
Here, the plugin module has a unique
key
and should define the...