The JIRA macro allows you to display a table of JIRA issues on a Confluence page, to display a count of issues in a JIRA project on a Confluence page, and to create a JIRA issue in Confluence.
For detailed information about the JIRA macro, refer to the page JIRA Issues Macro on the Atlassian website.
Create a JIRA issue in Confluence
To create a JIRA issue in Confluence
- Type {jira and when the macro browser opens, select the JIRA macro.
- Select Create New Issue.
- Select the Project and Issue Type.
- Enter the Summary and Description.
- Select the Priority.
The issue is created in the selected JIRA project.
Display a count of JIRA issues in Confluence
To display the count of the total JIRA issues in a particular project
- Type {jira and when the macro browser opens, select the JIRA macro.
- In the search box, enter the JQL query corresponding to the issues you want to count.
- Select search.
- When the preview of the table opens, select Display Options and then Total Issue Count.
- Select Insert.
The following is the issue count for the JQL query
project = TEST AND resolution = Unresolved ORDER BY priority DESC, key DESC
Getting issues...
This is a count of the unresolved issues in the Demo Project (TEST).
Display a table of JIRA issues in Confluence
To display a table listing the JIRA issues in a particular project
- Type {jira and when the macro browser opens, select the JIRA macro.
- In the search box, enter the JQL query corresponding to the issues you want to display.
- Select search.
- When the preview of the table opens, select Insert.
The following table is the output of the JQL query
project = TEST AND resolution = Unresolved ORDER BY priority DESC, key DESC
The table displays the unresolved issues in the Demo Project (TEST).
You can also display a table of JIRA issues by entering the URL for the table in a Confluence page. The URL for the preceding table is
https://tracker.nci.nih.gov/issues/?jql=project%20%3D%20TEST
The following table was inserted on the page by typing this URL on the page.