SLA based on different calenders Edited

Hi guys,

I just created my first support project and I want to define the SLAs.

The SLAs differ between working days, weekends and emergency (night) tickets.

During weekdays priorities can be 1, 2 or 3.

During weekend and night time, we only work on priority 1 tickets.

Somehow it seems, that Jira doesn't care which calender is associated to an issue severity, it just takes the first result from the "Issues (JQL)" column.

The SLA setup looks like this:

Prio 1 - 2h - Weekday

Prio 1 - 3h - Weekend

Prio 1 - 3,5h - Night

Prio 2 - 4h - Weekday

Prio 3 - 8h - Weekday

Now if a ticket is created on the weekend with Prio 1, it is still set as Prio 1 weekday and the SLA starts to count on Monday...

Thanks in advance!

Max

1 answer

0 vote

Hi Max,

Your SLA definitions are based on JQL criteria. In order for this to work, you should make sure you have distinct selections as a basis for your SLA management. Your first 3 examples are identical.

So try to determine the calendar at issue creation (e.g. based on time / date of creation) and set the SLA calendar to use in a label or a custom field. Then use that custom field in the JQL of your SLA definition:

Priority = 1 and Calendar = Weekend

Hi Walter,
thanks for your answer, it was useful for me too.


Do you have any idea of how it is possible to translate "calendar = weekend" in JQL language?

Thanks in advance,
Fiorella

Hi @Fiorella Santopietro,

The trick is not so much in the JQL. What I would suggest is that you use a custom field named something like SLA Calendar in your Service Desk project that you use to set the time of creation. It might have values like:

  • Office hours
  • Night
  • Weekend

Depending on how you use SLA calendars at your organisation. You can use a post function and a script (e.g using Scriptrunner) to set the SLA Calendar value based on the time of creation. I am not a script wizard myself, but you can definitely find inspiration on how to do this online.

As soon as you have this data, your JQL part for the actual SLA's becomes very straightforward:

Priority = <whatever> and "SLA Calendar" = Weekend (simply the value(s) from your custom field.

Hi @Walter Buggenhout [ACA IT],

Thanks a lot for your answer :)

 

Have a nice day,

Fiorella

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jun 14, 2018 in Jira Service Desk

How the Telegram Integration for Jira helps Sergey's team take their support efficiency to the bank

...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...

798 views 5 7
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you