Skip to content
Chapter 12Routing & escalation

Route incidents and keep escalating

Routing rules choose the team and policy. Escalation policies define who gets notified next when an incident has not been acknowledged.

6 min read

Here's the chain you're building: an incident arrives → a routing rule matches it to a team and an escalation policy → the policy pages that team's on-call (from the schedule), step by step, until it's acknowledged or the configured policy is exhausted. Build the policy first, then point a routing rule at it.

Part 1

Create an escalation policy

A policy is an ordered list of steps. Each step says who to page, on which channel, and how long to wait before giving up and moving to the next step.

  1. 1

    Open Escalation policies

    In the sidebar, go to Escalation policies and create one. Name it after the team or service it protects.

  2. 2

    Add step 1 — page the primary

    Target the team's on-call, choose channels (e.g. push + SMS), and set a timeout — how many minutes to wait for an acknowledgement before escalating.

    comtinel.com/policies/platform
    1Schedule: Platform primary · push + SMS5 min
    2Schedule: Platform backup · voice call5 min
    3User: Sam Rivera · email5 min
    Illustrative example · Sample data
    Three explicit escalation steps: the primary schedule, a backup schedule and a named incident manager.
  3. 3

    Add a backup step

    Choose an explicit user, team or backup schedule for step 2. A schedule target pages that schedule's current primary; it does not automatically switch to the secondary from step 1. Set the channels, timeout and repeat count for this step.

  4. 4

    Add a final escalation step if needed

    For example, target a named incident manager in the last step. Confirm each step has an eligible responder and an enabled delivery channel.

Voice calls retry automatically
When a step uses a voice call, Comtinel retries it before escalating, so a single missed ring doesn't skip ahead. If a whole policy is exhausted without an acknowledgement, that's recorded too.
Part 2

Create a routing rule

A routing rule decides which incidents go to which team — and which escalation policy applies. First select the Intake source for your integration. The available match fields follow that selection; the examples below use Jira, Prometheus and Grafana.

  1. 1

    Open Routing rules and choose a source

    In the sidebar, go to Routing rules and add one. Set Intake source to the service sending this incident.

  2. 2

    Set the match conditions

    For Jira, match a project key, issue type, severity, component, or labels. For example: project PAY → the Payments team.

    For Prometheus or Grafana, use Alert name, Severity label, and Label matchers. For example: service = checkout and env = prod → the Platform team. Every label matcher must pass. See the complete Prometheus setup for a test rule and matching labels.

    comtinel.com/routing-rules/payments
    Whenproject = PAY
    Route toPayments team
    PolicyPayments escalation
    Illustrative example · Sample data
    A routing rule sending one Jira project to a team and policy.
  3. 3

    Choose the team and policy

    Send matching incidents to the owning team and attach the escalation policy you built in Part 1.

  4. 4

    Verify with Simulate routing

    Choose the same intake source in the simulator and enter representative fields or alert labels. Confirm the matched rule, team, and policy. For Prometheus or Grafana, ensure the integration's severity filter accepts the alert; the simulator checks routing for an already accepted alert.

  5. 5

    Choose how to handle unmatched alerts

    If a default team should handle them, create a rule with no match conditions for that intake source. A catch-all only matches its selected source; a Grafana catch-all cannot catch Jira or Prometheus events. Otherwise unmatched incidents remain visible as unrouted without an escalation policy.

Most specific wins
You don't have to worry about rule order. Comtinel scores each rule by how precisely it matches and picks the most specific one — so a broad catch-all never steals an incident from a targeted rule.

Routing & escalation FAQ

What happens if two routing rules could match?

The most specific rule for the incident's intake source wins. Jira rules use project, issue type, severity, component and labels; Prometheus and Grafana rules use alert name, label matchers and the shared filters. A rule with no match conditions is a catch-all for its selected source.

What if nothing matches?

The incident is still created, but marked 'unrouted' rather than dropped. That's your cue to add a rule so the next one lands with the right team.

What's the difference between routing and escalation?

Routing decides which team owns the incident and which escalation policy applies. Escalation decides the sequence of who gets paged, on which channel, and how long Comtinel waits before moving on.

How does escalation know who to page?

An escalation step can target an on-call schedule. Comtinel resolves that to the person currently on call, so the policy stays the same as the rotation changes. This works for Jira, Prometheus and Grafana incidents.

Can Jira and Prometheus route to different teams?

Yes. Create a Jira rule for the relevant project and a Prometheus rule for the relevant alert labels, then choose each rule's team and escalation policy. Both can live in one workspace. A catch-all for one source does not match the other source.

The pipeline is complete. Last, let's make the actual pages clear and let responders pick how they're reached. Continue to notifications & responding →