The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Case statement-style sort for JIRAs

David Ting
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2013

I woud like to sort my JIRAs in the following manner:

  1. If type=="bug", put at top of list
  2. else
    1. order by milestone, then priority

I haven't been able to do this, as if I sort by type to have bugs at top, then the other items are ordered by type as well - which I don't want.

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

3 votes
Answer accepted
Boris Berenberg
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 Champions.
April 17, 2013

This is not possible out of the box in JIRA. The best thing I can suggest would be to configure a filter for each of the cases. In each filter, use the appropriate sort. Then set up a filter results gadget for each of the filters and use them on a dashboard to get an overview.

Multiple conditions in sorting can be accomplished by:

project = jsp order by status desc, created asc

David Ting
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 17, 2013

Good to know - I haven't played with dashboards much, so this seems like a good option given current functionality. Thanks!

TAGS
AUG Leaders

Atlassian Community Events