It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Question about JIRA Filters

I'm trying to sort CSI tickets based on MRR field value.

project = CSI AND status in ("In Progress", New, Pending, Assigned) AND issueFunction in hasLinks() ORDER By MRR ASC

But the sorting results are not the one I want.
It showed sorting like below format:
0
1
10
100
1000
2
20
200
2000
3
............


How can I sort the number base on the true value as (1, 2, 3, 10, 20,
30....)?

1 answer

1 accepted

1 vote
Answer accepted

What type of field is MRR?  I suspect it's not a number, so the issues are being sorted alphabetically, not numerically.

 

MRR is a text field. Should I made it numerical?

Should we convert the field?

Yes, changing it to a numeric will fix the order.  The other option is to prefix the shorter options with 00000

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Apr 09, 2019 in Portfolio for Jira

Portfolio for Jira 3.0 is here!

The wait is over... Portfolio for Jira Server and Data Center 3.0 is now officially here! Platform releases offer Atlassian an opportunity to shift our strategy, make bold predictions about t...

1,523 views 14 26
Read article

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