You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
I want a JQL query for finding ticket which are breached in last 7 days but created in past ever.
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
hi
for this JQL you can use script issuefunction in jira
https://scriptrunner.adaptavist.com/latest/jira/jql-functions.html#_lastupdated
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The question was labeled as jira-core, so I did not reckon it is JSD
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What is the criteria for the breached?
Assuming "duedate " is the criteria.
duedate < now() and duedate >-7d
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
then you should add jira-service-desk tag
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.