Home
  1. IMR Help
  2. Status Page
  3. Automation Rules

Automation Rules

An automation rule creates or updates a status page incident automatically when an IMR incident matches conditions you set. For example, a P0 incident on a mapped technical service opens an "Unavailable" incident on the status page, and resolving it in IMR resolves it on the page.

How it helps

  • Your status page shows an outage within minutes, even before an engineer writes a post.
  • The status page stays in step with IMR: when the IMR incident is acknowledged or resolved, the page updates too.

Note: Rules only work for business services that have technical services mapped to them.

Rules appear as tabs at the top, e.g. 1. P0 - Service outage, 2. P1 - Degraded performance, 3. P2 - Minor issue. Each rule has a LIVE / DRAFT toggle.

Create an automation rule

  1. Click the Automation rules tab, then Create automation rule (or Add automation rule).
  2. Click the pencil next to the rule name to rename it. New rules start as DRAFT; turn the toggle on to make the rule live.
  3. Under When this happens, build the conditions. Choose And or Or (and Not if needed), then pick a field, an operator and a value, e.g. Incident Priority In P0. Use Add from payload to match fields from the alert, and + to add more conditions.
  4. Under Then do this, set up Create new incident, and use Add actions to add Update existing incident.
  5. In each action, set Create new incident when (e.g. Incident Status == TRIGGERED) and the properties below.
  6. Click Save changes.

Action properties

Property What it does
Create new incident when The IMR event that runs this action, e.g. Incident Status == TRIGGERED.
Counts towards downtime Whether the status page incident lowers uptime. Each property can have overrides for specific conditions (Add override).
Incident title The status page incident title. Use VARIABLES (macros) to include details from the IMR incident, such as its title. Required.
Incident status The status customers see, e.g. Unavailable. Required.
Incident summary The first message customers see. Supports macros. Required.

Note: Rules are listed in order. Use the list icon next to the rule tabs to reorder them.

Example

Rule P0 - Service outage: when Incident Priority is P0:

  1. Create new incident when the IMR incident is TRIGGERED: status Unavailable, counts towards downtime, summary "We are investigating a service disruption. Some users may be unable to use the affected services. We will post updates here as we learn more."
  2. Update existing incident as the IMR incident moves on (acknowledged, resolved).

Rule P1 - Degraded performance works the same way for P1 incidents: it creates an incident with status Perf' Degraded, and its title uses a macro so it names what is affected.