Wiki source code of Count JIRA Issues in a Page

Last modified by Vincent Massol on 2026/08/04 21:49

Show last authors
1 The ##jiraCount## Macro displays how many issues match a JQL query, and nothing else. You need the id an administrator gave the JIRA instance, or its URL, as described in [[Configure a JIRA Server>>doc:documentation.extensions.admin.jira.configure-server.WebHome]]. The full parameter list is in [["jiraCount" Macro>>doc:documentation.extensions.user.jira.count-issues.macro.WebHome]].
2
3 1. Edit the page and place the cursor where the number should appear, which can be in the middle of a sentence.
4 1. Insert a ##jiraCount## Macro.
5 1. ((({{display reference="documentation.extensions.user.jira.display-issues.set-instance-parameter"/}})))
6 1. Write the JQL query selecting the issues to count in the Macro content.
7 1. Save the page. The number of matching issues is displayed in place of the Macro.(((
8 {{image reference="jira-count-result.png" size="large" alt="A saved wiki page whose sentence holds two issue counts produced by the jiraCount Macro"/}}
9 )))

Get Connected