Inserting a JIRA Issue Search that returns one issue auto-formats to display the single issue instead of the list of issues in the search filter
Platform Notice: Cloud and Data Center - This article applies equally to both cloud and data center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
In Confluence 5.2 and above, when attempting to enter a JIRA Search filter in a page in Confluence, if the search returns only one issue, the issue will be inserted as a single issue, and not as a list of issues that match the search filter.
Cause
This was an intentional decision to simplify the user interface. In most cases, a search that returns only one issue would be best displayed as a single issue.
Workaround
In cases where it is simply chance that the search currently only returns one, and a full list is desired, you can enter the macro in wiki markup instead, to maintain the list format.
Go to Insert > Wiki Markup
Insert the following wiki markup:
1
{jira:jqlQuery=your JQL filter goes here}
NB: You can edit the page without it auto-formatting to a single issue again, but if you edit the macro itself and click Insert, it will reformat to the single issue. If you need to change the query, you can edit the macro to extract the JQL, and then insert a new macro through Insert > Wiki Markup.
Was this helpful?