Skip to content

Latest commit

 

History

History
195 lines (118 loc) · 9.76 KB

EXAMPLE-03.md

File metadata and controls

195 lines (118 loc) · 9.76 KB

Example n°3 : Complex service levels in working (HO) and non-working hours (HNO)

For a managed services provider, open Monday to Friday from 9:00 a.m. to 7:00 p.m., we want to monitor commitments on response and resolution times.

Working hours for Managed Services

Dow Start time End time
Monday 09:00 19:00
Tuesday 09:00 19:00
Wednesday 09:00 19:00
Thursday   09:00 19:00
Friday   09:00 19:00

However, when an issue occurs during working hours, the delays continue during non-working hours. And, when an anomaly occurs during non-working hours, other deadlines apply. However, when an issue occurs during non-working hours, the delays continue during working hours.

Response time will be calculated as long as the issue is in a "new" state during the above business hours. Indeed, the Response time is stop when the issue is in others statuses (either "In progress", "Resolved", "Comments", "Closed" and "Rejected" state). Resolution time will be calculated as long as the issue is in a "new" and "In progress" state during the above business hours. Indeed, the resolution time is suspended when the issue is in a "Resolved", "Comments", "Closed" and "Rejected" state.

In the projects, we will apply this SLA to the tracker « Bug » :

**Managed Services Terms on working hours **

Issue priorities / SLA Levels  Response time Resolution deadline
 Minor   1h 24h
 Major   30mn 8h
 blocker   15mn 2h

**Managed Services Terms on non-working hours **

Issue priorities / SLA Levels  Response time Resolution deadline
 Minor   2h 48h
 Major   1h 12h
 blocker   30mn 4h

Here, whatever the issue's level, the deadlines are the same.

Create SLA

The SLA configuration bring together the entire definition of the SLA

To begin, go to Administration » SLA Global settings (https://[redmine-host]/sla/slas). Add "Sla Managed Services" as new "Service Level Agreements".

Redmine SLA - Example 03 - 01

So, this will bring together the entire definition of the SLA that we described in the introduction.

Create SLA Types

The SLA Types' configuration define the various commitments possibles.

Go to Administration » SLA Global settings » SLA Types (https://[redmine-host]/sla/types). Add "GTI" as new "SLA Type".

Redmine SLA - Example 03 - 02

Add "GTR" as new "SLA Type".

Redmine SLA - Example 03 - 03

Restart Redmine for applys patches with all sla types:

  • Issue : for display columns of the respect of each sla type in issues report
  • IssueQuery : for filter issues on the respect of each sla type in issues report
  • TimeEntry : for display columns of the respect of each sla type in time entries report
  • TimeEntryQuery : for filter issues on the respect of each sla type in time entries report

Create SLA Statuses

The SLA Statuses' configuration allows to define for which statuses the time elapses.

Go to Administration » SLA Global settings » SLA Statuses (https://[redmine-host]/sla/statuses). Add "SLA Statuses" for "Response time" with this statuses :

  • New

And add "SLA Statuses" for "Resolution deadline" with this statuses :

  • New
  • In progress

Redmine SLA - Example 03 - 03

The addition of this tuple indicates that the ticket creation delay should be calculated only when then issue was is in this status (i.e. while the ticket is in this status).

Create SLA Holidays

This module is used to list all the holidays (non-working days or even exceptional closing days) that will be needed in the SLA duration count.

Go to Administration » SLA Global settings » SLA Holidays ( https://[redmine-host]/sla/holidays). Add new "SLA Holidays" like in the fixtures, we have all the French public holidays of the year 2021 for example :

Redmine SLA - Example 03 - 04

Create SLA Calendar (& SLA Calendar' Schedule)

The SLA calendar is important, it allows to define the working hours and non-working hours of the week.

If the "match" field is checked, then the issue can be opened in this time slot (opening hours). If the time is declared with the "match" field unchecked, then the issue cannot be opened in this slot, however the time calculation can continue on this slot (non-working hours).

Typically, for support activities, deadlines are suspended outside business hours. If an issue is opened during non-working hours, then the calculation starts at the next working hour. Conversely, in the case of web hosting, an issue can be opened at any time and continues regardless of the time. If an exit is opened during working hours then it continues during non-working hours and vice versa.

Go to Administration » SLA Global settings » SLA Calendar ( https://[redmine-host]/sla/calendars ). Add "Calendar HO Managed Services" as new "SLA Calendar" with schedules :

Redmine SLA - Example 03 - 05

Go to Administration » SLA Global settings » SLA Calendar ( https://[redmine-host]/sla/calendars ). Add "Calendar HNO Managed Services" as new "SLA Calendar" with schedules :

Redmine SLA - Example 03 - 06

NOTE: These are the intervals from a start time to an end time, so the time is usually stopped by subtracting one minute from the end time. Indeed, taking a schedule of 8am to 9am, so to get well 60 minutes, it's therefore necessary to declare from 8am to 8:59am.

Create SLA Calendars' Holidays

So, we can create several SLA Calendars with SLA Schedules. For each SLA Calendar, you can also assign SLA Holidays.

For SLA Calendars' Holidays, the "match" field has the opposite meaning to SLA Calendar' Schedules. Indeed, for SLA Calendar' Schedules, the hours worked were declared. For SLA Calendars' Holidays, the hours not worked are declared. By default, we add a public holiday to remove it from the calculations. However, if the "match" field is checked, then the time will be counted. However, if a ticket is open on this slot, then it cannot start until the next working hour.

Go to Administration » SLA Global settings » SLA Calendars' Holidays (https://[redmine-host]/sla/calendar_holidays). Add new "SLA Calendars' Holidays"

Redmine SLA - Example 03 - 07

For our example, which is a support service, public holidays are equivalent to times that shouldn't be counted.

Create SLA Levels

After declaring SLAs and SLA Schedules, they can be linked to define service levels. In other words, the SLA Levels make it possible to know the moment "when" commitments will apply.

Go to Administration » SLA Global settings » SLA Levels (https://[redmine-host]/sla/levels). Add "Level HO Managed Services" and "Level HNO Managed Services" as new "SLA Levels":

Redmine SLA - Example 03 - 08

Create SLA Terms

Finally, we can define the SLA Terms. For an SLA Level, an SLA Type and a priority, you can define a time commitment (in minutes).

Go to Administration » SLA Global settings » SLA Terms (https://[redmine-host]/sla/level_terms). Add "Terms Bug Tracker" for each SLA Type / Priority as new "SLA Terms":

Redmine SLA - Example 03 - 09

Apply SLA to a Project

Go to your project' settings ( https://[redmine-host]/projects/[project-identifier]/settings ). Active SLA module for your project:

Redmine SLA - Example 03 - 10

The tab should appear SLA Project settings, go to this tab (http://[redmine-host]/projects/[project-identifier]/settings/slas). With "New SLA project's tracker" define the SLA for a tracker:

Redmine SLA - Example 03 - 11

View SLA into an issue

When you go to a project's issue, you should see the SLA appear if it matches with the status and priority:

Redmine SLA - Example 03 - 12

Roles

Until then, you were an administrator. However, in order for the members of your project to be able to see the SLAs, or even manage their activation within the project, you must grant them this right.

Got to Administration » Roles and permissions (http://[redmine-host]/roles). Edit a role (http://[redmine-host]/roles/[role-id]/edit) to check "View SLA" (ex: for manager and developer) and/or "Manage SLA" (ex: for manager).