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

JQL query

Ayush Lawania September 12, 2024

How to create a JQL to show the tickets resolved within the 4hours, 8 hours, 12 hours and 16hours from the time of creation.

2 answers

1 vote
Mohaddis Hassan September 12, 2024

Dear @Ayush Lawania You will get the desired result by changing the hours value.

Ayush Lawania September 12, 2024

hey, it does not work, what i see with this jql is it shows all the issues created within last 4h, but what I am looking for is any issue which was created in any time frame but resolved within those time frames.

@Mohaddis Hassan 

Mohaddis Hassan September 12, 2024

Hi, 

Yes, you are right the query will return all the tickets and there is no such query from which we can retrieve this except we can retrieve via automation rule attachment is attached below.
image.png 


0 votes
Walter Buggenhout
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 30, 2024

Hi @Ayush Lawania,

You tagged your question as related to Jira Service Management. If that is the case and you have a time to resolution SLA in place, you should be able to leverage that to answer your question.

The SLA timer should start when an issue is created and stopped when the issue is resolved. Once you have that, you can query this way:

resolution != unresolved AND "Time to Resolution" <= 4h

"Time to Resolution" would be the name of your SLA and you can play around with the 4h to track your different scenarios.

Hope this helps!

 

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