NIH | National Cancer Institute | NCI Wiki  

WIKI MAINTENANCE NOTICE

Please be advised that NCI Wiki will be will be undergoing maintenance on Monday, June 24th between 1000 ET and 1100 ET.
Wiki will remain available, but users may experience screen refreshes or HTTP 502 errors during the maintenance period. If you encounter these errors, wait 1-2 minutes, then refresh your page.

If you have any questions or concerns, please contact the CBIIT Atlassian Management Team.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The JIRA Issues macro allows you to perform the following tasks:

  • Display information from JIRA on a Confluence page in the following ways:
    • Display a table listing JIRA issues that meet your criteria
    • Display a count of issues that meet your criteria
    • Display a link pointing to a single issue
  • Create a JIRA issue in Confluence

For instructions, refer to the following Atlassian help page:

https://confluence.atlassian.com/conf613/jira-issues-macro-964960842.html

Multiexcerpt include
MultiExcerptNameExitDisclaimer
nopaneltrue
PageWithExcerptwikicontent:Exit Disclaimer to Include

Key Points for Accessibility

If you use the JIRA macro to display a list of issues or a count of issues, the result is accessible to people with disabilities. Here is an example of each:

  • A JIRA macro displaying a count of issues: 
    Jira
    serverNCI Tracker
    jqlQueryproject = LEXSYSTEST AND resolution = Unresolved
    counttrue
    serverId7954a81f-12da-3366-a0ef-97c806660e7c
  • A JIRA macro displaying a list of issues: 
    Jira
    serverNCI Tracker
    columnskey,summary,status
    maximumIssues20
    jqlQueryproject = LEXSYSTEST AND resolution = Unresolved
    serverId7954a81f-12da-3366-a0ef-97c806660e7c

However, if you use the JIRA macro to display a single issue, the result has an icon without alt text, so it is not accessible to people with disabilities. Here is an example:

Lexsystest-31 Create script to pull NCI's base version of CentOSImage Added

To remain compliant with the Section 508 mandate, you have the following options:

  • Display a single JIRA issue as a simple hyperlink, as described in Using the JIRA Shortcut, and as shown here: LEXSYSTEST-31.
  • Use the JIRA Issues macro to display a count or list of issues, as shown above. 
Wiki Markup
{scrollbar:icons=false}

...

The following is wiki markup to display unresolved issues in an open project.

Code Block
{jiraissues:url=[https://tracker.nci.nih.gov/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+TEST+AND+resolution+%3D+Unresolved+ORDER+BY+priority+DESC%2C+key+DESC&tempMax=1000]|title=Unresolved JIRA TEST Issues by Priority and Key|renderMode=static}

The URL is the address of the XML feed for the filtered view of the issues in a JIRA project. When the renderMode parameter is 'static,' the dynamic display features, such as sorting of columns, are disabled.

To use this macro in Confluence 4 and later, type as much of the following as needed

Code Block
{jira

Select the JIRA Issues macro and enter the URL in the Issues URL field.

The following shows the output for this macro.

Jira Issues
renderModestatic
titleUnresolved JIRA TEST Issues by Priority and Key
urlhttps://tracker.nci.nih.gov/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+TEST+AND+resolution+%3D+Unresolved+ORDER+BY+priority+DESC%2C+key+DESC&tempMax=1000

The following shows the output with the renderMode set to 'dynamic.'

...