Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to sort the issues on custom field(Number field) using JQL?

mani@123
Contributor
July 16, 2019

Hi,

We have an custom field(number field) called priority_score and we want to sort all the issues in descending order depending on the priority_score field like we do it on Priority field(system field).

I tried with the below query it is not working:

project = RP ORDER BY "Priority_score" DESC

With the Number field(custom field) i was able to sort the issues by Descending order:

sort.PNG

Any help would be greatly appreciated!!

Thanks in Advance,

Mani

1 answer

0 votes
Haran Kumar
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.
July 19, 2019

Hi mani@123 , 

What is the error that you are getting ? 


Thanks

mani@123 July 20, 2019

Hi Haran,

I don't see any error. 

Haran Kumar
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.
July 22, 2019

mani@123  , Sorry  i have not got your question right. Where can i help you ? could you please elaborate once more!

Andrey Gusev
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 20, 2019

I have similar problem. number field sorted (no matter ascending or descending) leaves empty fields above and below sorted group. 

Suggest an answer

Log in or Sign up to answer