Severity Fields in a Project don't Sort Correctly

Manoj Dasari April 5, 2023

We have n number of issues in a project and we are using JQL to get the issues in order but 

we are getting like 

Ticket number  Severity

Ep-01                 s2

Ep-02                 S1

Ep-03                  s3 like this

2 answers

1 accepted

1 vote
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2023

Hello @Manoj Dasari 

What type of field is the Severity field?

Manoj Dasari April 6, 2023

Its a Select list (Single choice)

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 6, 2023

If Severity is the one and only field declared in your ORDER BY clause, it appears that the issues will be sorted based on the order of the options in the Context definition, with DESC being from the bottom of the list options to the top, and ASC being from the top of the list options to the bottom.

The ORDER BY clause will not cause the results to be sorted based on an alphabetic sorting of the list option values.

Compare the images below.

The first one shows the Context definition order of the list options along side an issue search that is ordering the issues by that field.Screen Shot 2023-04-06 at 11.34.53 PM.png

 

In the second image I have change the order of the options in the Context definition and re-executed the search. The order of the search results has changed to match the order of the the options in the Context definition.

Screen Shot 2023-04-06 at 11.36.14 PM.png

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
August 24, 2023

Hello @Manoj Dasari 

You previously marked my Answer as Accepted. Has something changed? 

Is "getting three severity fields" something new that just started occurring?

Can you provide a screen image?

1 vote
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
April 5, 2023

Welcome to the Atlassian Community!

What is the "order by" clause in your JQL?

Manoj Dasari August 24, 2023

while using the JQL we are getting the three severity fields.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events