-
Suggestion
-
Resolution: Unresolved
-
None
-
93
-
3
-
Summary
When running JQL ORDER BY Desc, JIRA places the issue with null value for that field at the highest order, instead of at the lower order. According to the documentation from PostgreSQL 8.3.23 the NULLS FIRST is the default for DESC order, but is configurable.
Steps to Reproduce
- Having 3 issues with value for a custom field as 1, 2, and null
- Run JQL query: ORDER BY <cusom_field> Desc
Actual Result
JIRA places the null value at the highest rank
null
2
1
Suggestion
JIRA could order the issues as follows:
2
1
null
- is cloned from
-
JRASERVER-65848 JQL "ORDER BY Desc" place null at the highest order
-
- Gathering Impact
-
- mentioned in
-
Page Failed to load
Hoping this is prioritized soon. We create reports and insert Jira issue lists into Confluence pages where we prefer to sort by Due Date (DESC). However, this puts empty Due Dates at the top of the list, and defeats our purpose of showing timely upcoming work. We still need to see the items with empty Due Dates, we just expect them to be listed after anything else that isn't null.