I want a JQL query for finding ticket which are breached in last 7 days but created in past ever.
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
What is the criteria for the breached?
Assuming "duedate " is the criteria.
duedate < now() and duedate >-7d
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?
The question was labeled as jira-core, so I did not reckon it is JSD
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.
then you should add jira-service-desk tag
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.
hi
for this JQL you can use script issuefunction in jira
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_lastupdated
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
I want exactly the sameproject = "XXXX" AND "Time to done" = breached()
Instead of showing all the issues that breach the "Time to done" SLA I just want to filter the ones that breached it in the last 7 days
Hi @Rui Neves and @Patan Irfan Ali Khan I wrote an article about the most popular JQLs for Jira Cloud, and they must also work for JSD, so I recommend you check it. There is already a selection for very similar requests.
This is demonstrated in the SLA Time and Report for Jira add-on, but they also work for built-in Jira filters and SLAs.
It looks like you're new here. Sign in or register to get started.