JIRA Service Desk allows you to configure custom Service Level Agreements (SLA) based on custom issue types, priorities or any other field you want to use. Of course, the goal of your team is to meet the SLA’s, but what happens when they don’t? And more importantly, how can you find out why SLA’s have been breached? In this blogpost I will show you how to easily document SLA breaches in JIRA Service Desk.
An SLA is made up of two settings:
- A time metric, which lets you define how time will be measured for this SLA;
- A goal for selected issues, which lets you define a target for the time metric (different sets of issues may have different goals).
Custom fields, Screens and Workflows
To document SLA breaches, we will first need to create a new custom field called SLA breached explanation
The next step will be to create a new screen called SLA breached screen which has the SLA breached explanation custom field assigned to it. This screen will then be used in a workflow transition, but only when the SLA has been breached (more on this later).
Here’s an example of what our workflow could look like. Note that we added a workflow transition called Resolve breached issue between the Waiting for Support and Resolved states. Now we have two transitions going from Waiting For Support to Resolved. The first transition (Resolve this issue) simply goes to the Resolved state. For the second transition (Resolved breached issue) however, you will need to assign the SLA breached screen to the transition so users can provide an explanation for the breached SLA.
Let’s now configure our workflow with the conditions we need. Select the workflow transition Resolve breached issue and select Conditions. Now select the Script Condition.
“Time to resolution” = breached()
“Time to resolution” != breached()
When we now look at an issue, in this case an issue with an SLA breach, we will see the transition button Resolve breached issue.
Looking at another issue, in this case an issue where the SLA has been met, we will now see the transition button Resolve this issue. Clicking the button will simply Resolve the issue.
This should enable you to report on SLA breaches with much more detail and (I hope) perhaps even lead to less SLA breaches!
Hope you enjoyed the post. Feel free to leave your questions and comments below.