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,365,982
Community Members
 
Community Events
168
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.

0 votes

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

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

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