Forums

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

Can I order the display of a multiple-key JQL query using the order of the list searched?

Christopher Hogan September 7, 2023

If I have a query like :

Key in (TR-3000, MP-207, TR-1000, ST-420,...) 

is there a way to have the output ordered the way the list looks, rather than sorted by project then key number?  Looking for 

KEY           Summary          Priority    Status

TR-3000    asdfdfaa            asfd        asdf 

MP-207     asdfdfaa            asfd        asdf 

TR-1000    asdfdfaa            asfd        asdf 

ST-420      asdfdfaa            asfd        asdf 

...

1 answer

1 accepted

0 votes
Answer accepted
Mark Segall
Community Champion
September 7, 2023

Hi @Christopher Hogan - Short answer is no.  However, if you have business logic driving the order you're entering the issues, you could leverage that same business logic to display in that same order.  For example...

  • Issues are ordered by date created:
    • key IN (TR-3000, MP-207, TR-1000, ST-420) ORDER BY created ASC
  • Issues are ordered by a cross-functional ranking:
    • key IN (TR-3000, MP-207, TR-1000, ST-420) ORDER BY Rank ASC

Ultimately, you need a field to base any ordering against.

Suggest an answer

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

Atlassian Community Events