We have seen how to enhance the UI by adding new sections and links at various locations. In this recipe, we will see how to add a new tab panel under the view issue page, similar to the existing panels such as Comments, Change History, and so on.
Adding a new tab panel to the View Issue page can be done by the Issue Tab Panel Plugin Module. Following are the steps to create a new issue tab panel that displays some static text with a greeting to the logged-in user.
Define the
Issue
Tab
Panel
in theatlassian-plugin.xml
.<issue-tabpanel key="jtricks-issue-tabpanel" i18n-name-key="issuetabpanel.jtricks.name" name="Issue Tab Panel" class="com.jtricks.JTricksIssueTabPanel"> <description>A sample Issue Tab Panel</description> <label>JTricks Panel</label> <resource type="velocity" name="view" location="templates/issue/issue-panel.vm...