Adding a new drop-down menu on the top navigation bar

In this recipe, we will show how to use the web section and web item modules quickly to add a new drop-down menu in JIRA's top navigation bar.

How to do it...

Here, we first need a webitem to be placed in the system's top navigation bar and then have a websection declared under it. The web section can then have a list of web items created under it that will then form the links on the drop-down menu.

Following are the steps to do it:

  1. Create a new web item under the system's top navigation bar:
           <web-item key="jtricks-menu" name="JTricks Menu"        section="system.top.navigation.bar" weight="150">        <description>J Tricks Web site</description>        <label>J Tricks</label>        <tooltip>J ...

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.