JQL oldest ticket and highest priority

WasimBuden December 1, 2022

Hello Community,

 

I need a JQL for a JSM cloud project with the below requirement, sort tickets in the following order :

Incidents->Service requests -> the oldest ticket and highest priority.

Suppose we have 3 tickets, with 2 Incidents and 1 service request. We would like to see Incidents first and then service requests.

In those 2 Incidents, if the priority is P2 for both, we would like to see the oldest P2 Incidents first.

1 answer

1 accepted

0 votes
Answer accepted
Jack Brickey
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2022

hi @WasimBuden ,

try this...

project = xxxxx AND "Ticket category" in (incidents, "service requests") ORDER BY issuetype ASC, priority DESC, created ASC

WasimBuden December 1, 2022

Perfect, thank you Jack.

Like Jack Brickey likes this

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