Case statement-style sort for JIRAs

David Ting 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

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 Leaders.
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 April 17, 2013

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

Suggest an answer

Log in or Sign up to answer