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,364,888
Community Members
 
Community Events
168
Community Groups

JQL query for breached tickets in last 7 days.

I want a JQL query for finding ticket which are breached in last 7 days but created in past ever.

5 answers

Hi, 

Can you please let me know,

 

I want to see tickets for which first time response breached i.e., In progress   is breached for the last week

project = XXXX AND status not in (Pending, "Waiting for customer") AND "Time to First Response" = everBreached() AND "Time to Resolution" = everBreached() AND created >= "-7d

Change XXX to correct project.

Could this possibly be what your looking for? 

Tuncay Senturk Community Leader Oct 14, 2019

The question was labeled as jira-core, so I did not reckon it is JSD

I don't want filter for creation in only 7 days , it might be created few months ago or ever in past (anytime) but I just want only JQL which can fetch me any ticket that has breached either time to first response or time to resolution SLA in last 7 days.

ANd it is for Jira service desk.

0 votes

Hi @Chandra Prakash

 

What is the criteria for the breached?

Assuming "duedate " is the criteria. 

duedate < now() and duedate >-7d

Duedate is not the criteria.

I Have defined different SLA's in different Projects in JIRA and i am trying to build a JQL  which will fetch me any ticket that has breached either time to first response or time to resolution SLA in last 7 days.

Tuncay Senturk Community Leader Oct 14, 2019

then you should add jira-service-desk tag

0 votes
Tuncay Senturk Community Leader Oct 14, 2019

Hi  @Chandra Prakash 

What do yo mean by breached?

If you clarify we can help you.

For instance if you want to see breached issues based on duedate you can use below query to get issues which are not resolved and due date was in last week.

due >= startOfDay(-7) and due <= now() and resolution is EMPTY

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events