I'm trying to figure out how to set our SLA goals based on time of creating the request.
We have different response time for tickets submitted on working hours(Monday-Friday 08:00-17:00) and then we have response time outside working hours(Monday-Friday 17:00 - 08:00).
I've already created 4 different work schedules but it always assisgns the goal based on fist calendar. I guess a more complex JQL statement is required?
We need all incidents to be matched against 4 different calendars which have different response time based on time of submitting the request.
Right now even though first calendar doesn't include Sunday it matches it and assigns it's SLA goal.
Yes, it seems to work based on hours but I also like to check if request is submitted on Saturday or Sunday and then trigger the SLA goal.
Here's the logic I've tried:
issuetype = Incident AND createdDate >= startOfDay("+8h") AND createdDate < startOfDay("+17h") AND (createdDate = endOfWeek() OR createdDate = endOfWeek("+1d"))
Hi @Alexander ,
There was recently a discussion in the from about this. You can add a boolean checkboc custom field for this to determine whether the ticket is submitted during office hours. Then you can use this as a jql condition in your SLA definitions.
To easily define an SLA based on JQL conditions, you can try Time to SLA.
Time to SLA allows users to define SLA definitions based on JQLs. You can incorporate your requirement as a custom field and switch your SLA goals based on this condition.
Please know that I'm one of the folks behind Time to SLA. Let me know if you have any questions.
I still can't make it work and I've provided an example above
Need the following SLA Goals to trigger:
If request is submitted Mon-Fri (08:00-17:00) set SLA goal to X hours.
If request is submitted Mon-Fri (17:00 - 08:00) set SLA goal to Y hours.
Same logic for Saturday and Sunday
I've tried working with startOfDay, startOfWeek, endOfWeek but when request is submitted it doesn't trigger the SLA
You can try SLA Time and Report, which allows you to add SLA timer to your Jira issues. As the start and stop conditions, you can select any issue fields. This add-on lets to set SLA goals regarding the time you need.
And for overdue issues, there are automated actions(notification, changing assignee, status or priority). There can be few goals for one SLA config. To exclude non-working hours from the calculation you can set your work schedule at the calendar.
I hope, it helps
Best regards, Mariana
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...
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