JIRA Count Macro

Last modified by Anca Luca on 2026/06/12 18:45

cogDisplay the number of results of a JQL query
TypeJAR
CategoryMacro
Developed by

Vincent Massol, Simon Urli, Teodor Caras, XWiki Development Team

Support
Rating
0 Votes
LicenseGNU Lesser General Public License 2.1
Compatibility

Only works with Jira Server or Data Center, not with Jira Cloud.

Success

Installable with the Extension Manager

Description

Display the number of results of a JQL query from a JIRA instance.

Usage

{{jiraCount url="..." id="..."}}
The JQL request...
{{/jiraCount}}

Note the url and id parameter are handled the same way than for the JIRA macro.

Example

Number of issues in XWIKI platform project:

{{jiraCount url="https://jira.xwiki.org"  }}
project=XWIKI
{{/jiraCount}}

Or inline you can count this way: {{jiraCount id="jira_dot_org"}}issueKey in (XWIKI-1000,XWIKI-1001){{/jiraCount}}

jiraCount.png

Extensibility

You can transform the macro result. See the JIRA macro doc section for more details.

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager).

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Versions

Dependencies

Dependencies for this extension (org.xwiki.contrib.jira:jira-macro-count 11.1.4):

  • org.xwiki.contrib.jira:jira-macro-default 11.1.4
  • org.xwiki.contrib.jira:jira-macro-common 11.1.4

Get Connected