Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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? 

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.

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.

then you should add jira-service-desk tag

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
Community showcase
Published in Apps & Integrations

Send an Email or Publish to Confluence - What should you do with your release notes?

Background When you hear the words ‘Release notes’, almost always you think of an unsolicited email from a software vendor. But I am here to tell you that from our data, sending release notes via E...

51 views 0 1
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you