Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How do I group Jira search results in order?

Alan Laird
Contributor
May 24, 2019

I've got a search that returns a list of issues and I would like to sort them by their status (open, blocked, done) and by their date.  I've tried 'order by status" but that results in an alpha search where i'd like the order controlled to be open, blocked, done.

 

Thanks!

2 answers

0 votes
Payne
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2019

Hi Alan,

This answer pertains to Jira Server; I assume it's the same for Cloud, but it may not be.

Statuses sort by the order in which they appear on the statuses page - https://<JIRA_DOMAIN>/secure/admin/ViewStatuses.jspa

They can be rearranged (painfully, one position at a time), by clicking the up/down arrows.

jira.jpg

0 votes
Mike Rathwell
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 24, 2019

Ah yes, @Alan Laird  you have come up hard against the old "JQL isn't "SQL" thing here. I've not yet found a good way to do this in Jira (and hopefully a helpful reader here can point BOTH of us along that way).

What I've done, for reporting purposes, is actually display these in Confluence by using a Jira macro embedded in the Table Filter and Charts macro, then did a pivot on the values I wanted grouped together (in your case, open, blocked, and done). Not optimal but does get there after a fashion.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events