Improve the Jira Issues macro with the Table Plus macro - 8.x
Overview
This page demonstrates how to use the Table Plus macro, which is part of the Advanced Tables for Confluence app, to enhance the Jira Issues macro. Simply insert a Table Plus macro onto your page, configure its parameters, and then insert a Jira macro inside of the Table Plus macro.
If you are on a version of the Jira Issues macro that no longer has sorting (latest Confluence release and OnDemand - see CONF-30114), then this can be very helpful. The Table Plus macro can add sorting and other features to the Jira Issues macro including styling the table differently. The key to doing this successfully can sometimes be dependent on the Confluence release (or more specifically, the release of the plugin containing Jira Issues macro). The example on this page is based on OnDemand.
Limitations
Currently, the JIRA issues macro limits the display to the first 20 issues. There does not appear to be an option to control this - see CONF-30116. Sorting is only done on the visible issues.
Macro browser input
Select this macro
Macro name | Advanced Tables - Table Plus |
Macro syntax | {table-plus} |
Parameters/values
Row formatting > Header & Footer rows > Number of Header rows | 2 |
Column settings > Formatting > Column type (1 2 3 4 5 6 7 8 9 10 11) | S S X M M S S S F F S |
Please note that the Column types parameter is required for sorting. It should contain a comma separated list of values for handling each column. Click Display Options from within the Jira Issues macro to review and optionally customize the columns to display, and thus determine how to set the Table Plus macro's Column types parameter.
Use | For |
---|---|
String (S) | String columns |
Exclude this column from user selectable sorting (X) | Exclude column from sorting. For example, using Type column as that sorts by key, which is confusing. |
Hide the column (H) | Hide columns you want to hide. |
Date (M) | Date columns. |
Numeric and float values (F) | Columns with numeric or float values. |
Screenshot
Wiki markup input
{table-plus:heading=2|columnTypes=S,S,X,M,M,S,S,S,F,F,S} {jiraissues:url=[https://bobswift.atlassian.net/sr/jira.issueviews:searchrequest-rss/temp/SearchRequest.xml?jqlQuery=project+%3D+TBL+AND+fixVersion+%3D+%226.1.0%22+ORDER+BY+priority+DESC} {table-plus}
Example result
Other examples
Visit our full list of product examples for additional inspiration!