Password Reset in Jira
Door Patrick van der Rijst / dec 2018 / 1 Min
Door Patrick van der Rijst / / 2 min
JIRA Service Management 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 blog post, I will show you how to easily document SLA breaches in JIRA Service Management.
An SLA is made up of two settings:
The actual SLA results are shown in reports and in the JIRA issue itself.
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.
Out of the box, JIRA does not support adding workflow conditions based on a JQL match. In order to achieve this we've installed ScriptRunner for JIRA by Adaptavist.
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.
Here, we want to make sure the Resolve breached issue transition is only shown when the SLA is breached. For this we will use the following JQL Query:
"Time to resolution" = breached()
For the transition Resolve issue we want to configure a condition as well to make sure it only shows up if the SLA has NOT been breached. For this we will use the following JQL Query:
"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.
When clicking Resolve breached issue we will see our SLA breached screen and will be able to provide an explanation for the breach through the SLA breached explanation custom field.
* You could of course configure a validator and make this field mandatory.
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!
| Atlassian
Door Patrick van der Rijst / jun 2023
Dan denken we dat dit ook wat voor jou is.