Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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  @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

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

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, 

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

New Cloud Apps Roundup - Spring 2021

Atlassian's marketplace partners have had a very productive start to 2021! Since our last roundup, our developer community has added over 160 new cloud apps to the Atlassian Marketplace to help you...

85 views 1 12
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