Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to custom sort components based on a self-defined sequence?

Vineet_Kotian July 27, 2023

I tried the below jql query but it didn't execute. 

JQL: project = "AAA" ORDER BY component ("AA", "BB", "CC")

Error in the JQL Query: Expecting either 'ASC' or 'DESC' but got '('. (line 1, character 35)

1 answer

1 vote
Dave Mathijs
Community Champion
July 27, 2023

Hi @Vineet_Kotian 

You cannot custom sort, only ascending (ASC) or descending (DESC):

  • ORDER BY component ASC
  • ORDER BY component DESC
Vineet_Kotian July 27, 2023

Thanks @Dave Mathijs for a quick response.

Any specific reason to not have a custom sort feature? 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events