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
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:
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)
- Urgent
- Highest
- Medium
Custom priority scheme
- Highest
- Urgent
- 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.
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. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
It's looks right, are you sure that some issue have the blocker, critical or major priority in the result of your search ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Neenu jose
Can you show us the jql your are using to filter the issue ?
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.