The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
  • Community
  • Q&A
  • Jira
  • Questions
  • How do I order the results by a custom key with the sequence (abc-2509, abc-2616, abc-1403, abc-1402

How do I order the results by a custom key with the sequence (abc-2509, abc-2616, abc-1403, abc-1402

Jyoti Varade
July 26, 2024

 

I need to order the issues by a custom key order:

project = "ABC" AND key IN (abc-2509, abc-2616, abc-1403, abc-1402, abc-2581, abc-2596) ORDER BY FIELD(key, abc-2509, abc-2616, abc-1403, abc-1402, abc-2581, abc-2596)"

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jim Knepley - ReleaseTEAM
Atlassian Partner
July 26, 2024

Jira doesn't support custom sort orders, just "asc" and "desc"

This was discussed fairly recently in another thread.

DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events