Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,560,407
Community Members
 
Community Events
185
Community Groups

Issues are not getting sorted based on priority scheme

Hi Team,

We are using a customized priority scheme for one of our server project and the priorities are,

Blocker

Critical

Major

Medium

Minor

Trivial

(We have sorted priories as per above order in the scheme)

But when we are sorting the issues in the filter based on priorities, the issues are sorted differently, always medium is coming in the top even though we are not using any default priority.

 

Please help us to resolve this issue.

Regards,

Neenu Jose  

4 answers

Unfortunately it's a limitation in Jira.

The Priority scheme just displays your custom order in the Priority dropdown list.

When using in JQL though e.g. ORDER BY priority DESC the priority is ordered using your default Global Priority scheme (Admin > Issues > Priority schemes).

Possible solutions:

  • Change the Global priority scheme to match your custom priority scheme
  • Customize your priority scheme using the order of your Global priority scheme (relevant for larger jira instances with many priorities)

Here's an excerpt from Jira's documentation

It's important to know how JQL works with priorities. If you use JQL to order issues by their priorities (e.g. descending), they will be ordered according to the importance of the priorities on the global list of priorities. The global list is what's displayed on the Priorities  page. The order from priority schemes is not relevant for JQL. To put it in an example, let's say the priorities in your Jira instance are arranged in the following way:

Global list (Priorities page)

  1. Urgent
  2. Highest
  3. Medium

Custom priority scheme

  1. Highest
  2. Urgent
  3. Medium

After appending a JQL query with e.g. ORDER BY priority DESC, the Urgent issues will be at the top of the list (followed by Highest, and then Medium), even if they’re in a project that uses the custom scheme. You can change the order in the default scheme on the Priorities page.

Stanisław Białowąs
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!
Feb 03, 2023 • edited

As I`ve faced this priority ordering thing recently, I thought it would be worth saying that it`s not an order on Global Priority Scheme, but on Priority list, where all your instance`s priorities are (at least for Jira 8.20). There you can order them by drag`n`drop.

Nevertheless, thank you very much for providing this explanation. :) 

0 votes
Carla Ann Rowland
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.
Apr 05, 2021

Check your default order on your system priorities screen and group the priority list so all the High level 1 are together, Medium -3 Et Cetera then that will allow the priority custom lists to be ranked accordingly.

Here it is

project = ABCD ORDER BY priority DESC

Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 22, 2020

It's looks right, are you sure that some issue have the blocker, critical or major priority in the result of your search ?

0 votes
Mohamed Benziane
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 20, 2020

Hello @Neenu jose 

Can you show us the jql your are using to filter the issue ?

Suggest an answer

Log in or Sign up to answer