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
問題
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.
原因
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.
回避策
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:
{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.