You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi All,
I have created a custom scripted field that outputs number values. the field is called rating. I created a JQL query to order the issues based on the value of this field. "project = RT1001 ORDER BY Rating DESC", this works except for my rating values that are double digits. Single digit values are being ordered highest to lowest, but my highest value "16" is ordered at the bottom with the "1" values. How can i fix this?
How have you created the scripted field?
If it's with Scriptrunner and used the scripted field functions from that, then can you check that you have set it up with a number template in Scriptrunner, and changed the "searcher" to either exact number or number range.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Sasha Pilote ,
Did you use a Numbers Field for your custom field or a Text Field?
This looks like it's behaving like a text field and sorting the numbers alphabetically.
Cheers,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Peter Van de Voorde ,
It is a numbers field for the custom field. It is scripted to take values from 2 other number fields and multiply them to get its value. Is there a way to adjust my filter to search by its actual numerical value?
Thanks for the help,
Sasha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.