JIRA Count Macro
| Display the number of results of a JQL query |
| Type | JAR |
| Category | Macro |
| Developed by | Vincent Massol, Simon Urli, Teodor Caras, XWiki Development Team |
| Support |
XWiki SAS
|
| Rating | |
| License | GNU Lesser General Public License 2.1 |
| Compatibility | Only works with Jira Server or Data Center, not with Jira Cloud. |
Table of contents
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}}
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