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?

 

5 answers

1 accepted

This widget could not be displayed.

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.

This widget could not be displayed.

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

Thank you. That really helped a lot 

This widget could not be displayed.

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.)

This widget could not be displayed.

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?

 

This widget could not be displayed.

When I try to do a sorting, it not showing in the order.. It shows, 1. 10, 11, 12,... 19, then 2, 20, 21...

How to fix this issue?

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

139 views 2 0
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