Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,456,300
Community Members
 
Community Events
176
Community Groups

JQL oldest ticket and highest priority

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 Dec 01, 2022

hi @WasimBuden ,

try this...

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

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

Atlassian Community Events