Forums

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

Cannnot pull closed tickets that have elapsed SLA

Michael Doffing
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2019

When pulling closed tickets for my team I get no issues but when I add my SLA counter ("Time to customer resolution" > elapsed(2h45m)) the query doesn't pull any tickets. I have verified that I have tickets that have elapsed that 2h45m window as well. 

 

When I remove the part in my query about the tickets needing to be closed I get results but they aren't what I need because I need Closed tickets that have elapsed the "Time to Customer Resolution" SLA.

2 answers

0 votes
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 23, 2019
If you get results on removing just "Status = Closed" from that JQL, it means that the resolution field is being set in a previous status, ie: Resolved.

The query is ok, but the resolution date is not the same date when the issue moved to the Closed status.

You may want to change your JQL by substituting the references to the Resolution Date to:

Status changed to Closed after startOfDay(-1) before startOfDay()
0 votes
Kian Stack Mumo Systems
Community Champion
May 23, 2019

Can you paste your exact JQL here? 

Michael Doffing
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2019

project = "IT Help Desk" AND status = Closed AND resolutiondate > startOfDay(-1) AND resolutiondate < endOfDay(-1) AND assignee = ataylor and "Time to customer resolution" > elapsed("2h45m")

Kian Stack Mumo Systems
Community Champion
May 23, 2019

Can you please post a ticket you are expecting to have returned by the query? Make sure to redact any sensative info. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events