Case statement-style sort for JIRAs

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

Accepted Answer
3 votes
Boris Berenberg Community Champion Apr 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

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
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,577 views 2 7
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you