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
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
Order by Priority
Our organisational priority settings are
I want to list all my JIRA issues in the above order. What JQL script can I use to order the list?
Have you tried adding the following to your JQL query? : order by priority DESC
That yields the pririority ordered alphabetically which is not the order of priority. If you have Priority High, Medium, Low, with your solution it would be ordered as High, Low, Medium, which is the wrong order. Surprisingly when opening the dropdown for priority in a ticket the priorities are correctly sorted, so there is an internal index to sort them but JQL can't access that internal index, and the tag "priority" points to the NAME of the priority, what makes your solution not to deliver the expected results.
Unfortunately, the order by is just going to put them in alphabetical order - either ascending or descending.
So you will need to add a number in front or letter or something to get them in a particular order. Something like:
1 - Highest
2 - High
3 - Medium
4 - Low
5 - Lowest