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 for SLA Edited

Hey,

I'm trying to create to SLAs for issues created within office hours, and a different SLA for those created outside office hours. So the time to first response for office hours would be for example 10 minutes, while for the rest it would be 30 mins. 

The problem is that it seems like JQL only allows you to filter by specific days or weeks using the startOfDay. Am I missing something?

Summary:
Issue Created between 08:00 and 17:00 then SLA TTFR is 10mins
Issue Created between 17:01 and 07:59 then SLA TTFR is 30 mins 

Thanks.

1 answer

0 votes
Jack Community Leader Oct 02, 2020

You accomplish this via a different Calendar. You define an after hours calendar and specify a different sla.

This is what I did:

Created 2 calendar, one that has office hours and the other with outside office hours, then created an SLA for each calendar.

The problem is, it's totally wrong. All issues get the outside office hours SLA and it identifies no issues within the office hours calendar. So I thought that you have to specify this in the filter.cal1.JPGcal2.JPGsla.JPG

Actually all issues "issuetype = incident" get whichever calendar is first. If you see the last image, in this case they all get the 10m goal. If I switch those around they all get the 30m goal.

This is why I am thinking that the JQL query has to specify the time, and not the calendar.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

Why upgrade to Jira Service Management Premium?

We often have questions from folks using Jira Service Management about the benefits to using Premium. Check out this video to learn how you can unlock even more value in our Premium plan.  &nb...

163 views 0 4
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