Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom sort order of jira workflow statuses in a filter using JQL

Tags:

jira

jql

I know you can change the order statuses are displayed by admin > issues > statuses and sort order but I'd prefer to order the results in my jql with certain statuses at the top and a specific order.

Is it possible to order how statuses appear in a query using JQL.

For example:

if you have the following status available:

  1. review,
  2. backlog,
  3. in development,
  4. testing,
  5. and Done

But you don't want to order them alphabetically can you define a customer order?

For example a JQL query for the custom order might be ORDER BY Status ("review","backlog","in development").

In this case the statuses would show from top to bottom on the Y axis in this order ("review","backlog","in development")

like image 532
yoshiserry Avatar asked Nov 11 '16 06:11

yoshiserry


People also ask

How would you change the order of precedence of operators in a JQL statement?

You can set precedence in your JQL queries by using parentheses. Parentheses will group certain clauses together and enforce precedence.


1 Answers

ty for the question, that helped me find the solution it's simple you need to change the order of the status on the issues/statuses screen then, the normal sorting works

like image 102
Danilo Venegas Avatar answered Oct 05 '22 07:10

Danilo Venegas