Custom Jira Filter Sorting

I would like to know how to custom sort my JIRA filter results columns so different statuses show in an order other than ASC or DESC.

In my status columns I would like to be able to place all my closed issues at the bottom of my filter list while having my open at the top.  We have other statuses that I would like in between those.

So if I ordered by status I would like the filter to show tickets in order or Open, In Dev, In QA, and Closed

Is there a way to do this in advanced filtering?

 

4 answers

1 accepted

Which resolution do you use for Open, Dev, QA, Closed ? Open is normally Unresolved. You can use the Resolution for sorting. Starting with the Unresolved i.e. Open issues.

From the Stack Overflow question Custom 'ORDER BY' status in JIRA, the Status field has it's own sort order that is not governed by alphabetization, but by a custom order in as defined in Administration > Issues > Statuses (https://$JIRA_URL/secure/admin/ViewStatuses.jspa)

 

From there, you can reorder statuses up or down which governs how they show up when ordered in queries.

JIRA - Order Status.png

It is not possible but you can use a workaround. Set in those transition another customfield with some order values (1-9 or A-Z) and then do an order by on that field instead on the status field.

hanks Udo, Can you please explain in more detail? Are you saying you can have more than one field/column linked to a transition? So in the admin when I set up transitions from status Open to closed there is a way to also link Open transition to 1 and Closed to 2? Do you know where there are directions on how to do this?

Well, when you transition an issue to closed set in a post function a (new) custom field (named e.g. statusorder) to "Z". Do this in all transitions with an according letter so you get your desired order of your statuses. So an order by "statusorder" will result in the correct order of you status (closed as last, etc.)

Thanks Udo,

 

Can you please explain in more detail?  Are you saying you  can have more than one field/column linked to a  transition?  So in the admin when I set up transitions from status Open to closed there is a way to also link Open transition to 1 and Closed to 2?

Do you know where there are directions on how to do this?

 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,209 views 13 19
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot