Rate this page:
JIRA 4.4 and later -- the location is available.
The two and locations together define web sections and items in the issue operations bar, which is visible on the 'View Issue' page.
You can add new web items to existing web sections within the and locations of the issue operations bar (see Existing Web Sections of the Issue Operations Bar Locations). You can also add new web sections to the 'More Actions' drop-down menu (in the location).
To add your own web item to an existing web section of one of JIRA's issue operations bar locations, your web item must include a attribute whose value is one of the sections specified in the Existing Web Sections of the Issue Operations Bar Locations diagram.
For example, to add a web item module that defines a new item in the 'operations-operations' section, your web item module would contain:
1 2 3
<web-item ... section="operations-operations" ...> ... </web-item>
To add an item to the location, the value of your web item's attribute must be . Referencing the location explicitly in your web item definition will not work.
To add your own section to the 'More Actions' drop-down menu, define a web section that includes a attribute with the value .
For example, your web section module would contain:
1 2 3
<web-section key="my-custom-more-actions-section" ... location="opsbar-operations" ...> ... </web-section>
Adding new web items to your own sections is similar to the method above for adding new web items to existing web sections. However, specify the value of your web section's attribute as the value of your web item's attribute. Hence, following on from the previous example, your web item would contain:
1 2 3
<web-item ... section="my-custom-more-actions-section" ...> ... </web-item>
To customise the position of your own web items or sections throughout the issue operations bar, add a attribute to your or and adjust its value with respect to JIRA's existing web items or sections.
For web items added to the 'transitions-all' section, lower weight values result in these items appearing closer to the left and then higher up the 'Workflow' drop-down menu.
To find the values of JIRA's existing web items and sections for the and locations, view the following file in JIRA's source archive:
The location defines web panels for the right hand side of the 'View Issue' page.
To add your own web panel to the summary tab location of JIRA's project configuration administration, your web panel must include a location attribute whose value is .
1 2 3 4 5
<web-panel ... location="atl.jira.view.issue.right.context" ...> ... <label key="my-new-panel.title"/> ... </web-panel>
If you wish to create a 'panel label' (i.e. the collapsible heading which appears at the top of the panel), define a element with a attribute whose value defines a unique property (i.e. based on the example above). The string value of this unique property (defined in your plugin's file) will be shown in bold text at the top of your section.
If you do not wish a heading to appear at the top of the panel, include the following child element in your module:
To customise the position of your own web panels in this location, add a attribute to your and adjust its value with respect to JIRA's existing web panels. Lower weight values result in these panels appearing higher up the right hand side of the 'View Issue' page.
To find the values of JIRA's existing web panels for the location, view the following file in JIRA's source archive:
Rate this page: