Create and manage alert routes.
Alert routes take alerts from alert sources, filter them according to conditions, apply grouping on alert attributes, then finally create:
These are best configured in the incident.io dashboard and exported via the UI to Terraform, as the configuration is complex.
Create an alert route.
We recommend you create alert routes in the incident.io dashboard where we allow previewing filter and grouping rules.
Created response.
{- "alert_sources": [
- {
- "alert_source_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
], - "value": {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
}
], - "params": [
- {
- "array": true,
- "default_value": {
- "array_value": [
- {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
], - "value": {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
}, - "description": "What slack channel should we send the message to?",
- "infer_reference": true,
- "label": "To date",
- "name": "severity",
- "optional": true,
- "type": "IncidentSeverity"
}
], - "subject": {
- "color": "yellow",
- "icon": "action",
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
]
}
], - "auto_decline_enabled": false,
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
], - "defer_time_seconds": 1,
- "enabled": false,
- "escalation_bindings": [
- {
- "binding": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "expressions": [
- {
- "else_branch": {
- "result": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "label": "Team Slack channel",
- "operations": [
- {
- "branches": {
- "branches": [
- {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
], - "result": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}, - "filter": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
]
}, - "navigate": {
- "reference": "catalog_attribute[\"01FCNDV6P870EA6S7TK1DSYD5H\"]"
}, - "operation_type": "navigate",
- "parse": {
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "source": "metadata.annotations[\"github.com/repo\"]"
}
}
], - "reference": "abc123",
- "root_reference": "incident.status"
}
], - "grouping_keys": [
- {
- "id": "01FCNDV6P870EA6S7TK1DSYDG0"
}
], - "grouping_window_seconds": 1,
- "incident_condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
], - "incident_enabled": false,
- "name": "Production incidents",
- "template": {
- "custom_field_priorities": {
- "abc123": "abc123"
}, - "custom_fields": {
- "custom_field_10014": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "incident_mode": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "incident_type": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "name": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "priority_severity": "severity-first-wins",
- "severity": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "summary": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "workspace": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
}
{- "alert_route": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
], - "defer_time_seconds": 1,
- "escalation_bindings": [
- {
- "binding": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "expressions": [
- {
- "else_branch": {
- "result": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "label": "Team Slack channel",
- "operations": [
- {
- "branches": {
- "branches": [
- {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
], - "result": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}, - "filter": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
]
}, - "navigate": {
- "reference": "1235",
- "reference_label": "Teams"
}, - "operation_type": "navigate",
- "parse": {
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "source": "metadata.annotations[\"github.com/repo\"]"
}, - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}
], - "reference": "abc123",
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "root_reference": "incident.status"
}
], - "grouping_keys": [
- {
- "id": "01FCNDV6P870EA6S7TK1DSYDG0"
}
], - "grouping_window_seconds": 1,
- "id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "name": "Production incidents",
- "template": {
- "custom_field_priorities": {
- "abc123": "first-wins"
}, - "custom_fields": {
- "custom_field_10014": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "incident_mode": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "incident_type": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "name": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "priority_severity": "severity-first-wins",
- "severity": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "summary": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "workspace": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
}
}
Show an alert route.
We recommend you create alert routes in the incident.io dashboard where we allow previewing filter and grouping rules.
OK response.
{- "alert_route": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
], - "defer_time_seconds": 1,
- "escalation_bindings": [
- {
- "binding": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "expressions": [
- {
- "else_branch": {
- "result": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "label": "Team Slack channel",
- "operations": [
- {
- "branches": {
- "branches": [
- {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
], - "result": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}, - "filter": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
]
}, - "navigate": {
- "reference": "1235",
- "reference_label": "Teams"
}, - "operation_type": "navigate",
- "parse": {
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "source": "metadata.annotations[\"github.com/repo\"]"
}, - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}
], - "reference": "abc123",
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "root_reference": "incident.status"
}
], - "grouping_keys": [
- {
- "id": "01FCNDV6P870EA6S7TK1DSYDG0"
}
], - "grouping_window_seconds": 1,
- "id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "name": "Production incidents",
- "template": {
- "custom_field_priorities": {
- "abc123": "first-wins"
}, - "custom_fields": {
- "custom_field_10014": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "incident_mode": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "incident_type": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "name": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "priority_severity": "severity-first-wins",
- "severity": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "summary": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "workspace": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
}
}
Updates an alert route.
We recommend you create alert routes in the incident.io dashboard where we allow previewing filter and grouping rules.
OK response.
{- "alert_sources": [
- {
- "alert_source_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
], - "value": {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
}
], - "params": [
- {
- "array": true,
- "default_value": {
- "array_value": [
- {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
], - "value": {
- "catalog_entry": {
- "archived_at": "2021-08-17T14:28:57.801578Z",
- "catalog_entry_id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "catalog_entry_name": "Primary escalation",
- "catalog_type_id": "01FCNDV6P870EA6S7TK1DSYDG0"
}, - "helptext": "Collection of standalone automations like auto-closing incidents.",
- "is_image_slack_icon": false,
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity",
- "sort_key": "000020",
- "unavailable": false,
- "value": "abc123"
}
}, - "description": "What slack channel should we send the message to?",
- "infer_reference": true,
- "label": "To date",
- "name": "severity",
- "optional": true,
- "type": "IncidentSeverity"
}
], - "subject": {
- "color": "yellow",
- "icon": "action",
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
]
}
], - "auto_decline_enabled": false,
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
], - "defer_time_seconds": 1,
- "enabled": false,
- "escalation_bindings": [
- {
- "binding": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "expressions": [
- {
- "else_branch": {
- "result": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "label": "Team Slack channel",
- "operations": [
- {
- "branches": {
- "branches": [
- {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
], - "result": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}, - "filter": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
]
}, - "navigate": {
- "reference": "catalog_attribute[\"01FCNDV6P870EA6S7TK1DSYD5H\"]"
}, - "operation_type": "navigate",
- "parse": {
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "source": "metadata.annotations[\"github.com/repo\"]"
}
}
], - "reference": "abc123",
- "root_reference": "incident.status"
}
], - "grouping_keys": [
- {
- "id": "01FCNDV6P870EA6S7TK1DSYDG0"
}
], - "grouping_window_seconds": 1,
- "incident_condition_groups": [
- {
- "conditions": [
- {
- "operation": "one_of",
- "param_bindings": [
- {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": "incident.severity"
}
]
}
], - "incident_enabled": false,
- "name": "Production incidents",
- "template": {
- "custom_field_priorities": {
- "abc123": "abc123"
}, - "custom_fields": {
- "custom_field_10014": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "incident_mode": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "incident_type": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "name": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "priority_severity": "severity-first-wins",
- "severity": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "summary": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "workspace": {
- "array_value": [
- {
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
}
{- "alert_route": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
], - "defer_time_seconds": 1,
- "escalation_bindings": [
- {
- "binding": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "expressions": [
- {
- "else_branch": {
- "result": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "label": "Team Slack channel",
- "operations": [
- {
- "branches": {
- "branches": [
- {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
], - "result": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
], - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}, - "filter": {
- "condition_groups": [
- {
- "conditions": [
- {
- "operation": {
- "label": "Lawrence Jones",
- "value": "01FCQSP07Z74QMMYPDDGQB9FTG"
}, - "param_bindings": [
- {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
], - "subject": {
- "label": "Incident Severity",
- "reference": "incident.severity"
}
}
]
}
]
}, - "navigate": {
- "reference": "1235",
- "reference_label": "Teams"
}, - "operation_type": "navigate",
- "parse": {
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "source": "metadata.annotations[\"github.com/repo\"]"
}, - "returns": {
- "array": true,
- "type": "IncidentStatus"
}
}
], - "reference": "abc123",
- "returns": {
- "array": true,
- "type": "IncidentStatus"
}, - "root_reference": "incident.status"
}
], - "grouping_keys": [
- {
- "id": "01FCNDV6P870EA6S7TK1DSYDG0"
}
], - "grouping_window_seconds": 1,
- "id": "01FCNDV6P870EA6S7TK1DSYDG0",
- "name": "Production incidents",
- "template": {
- "custom_field_priorities": {
- "abc123": "first-wins"
}, - "custom_fields": {
- "custom_field_10014": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}, - "incident_mode": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "incident_type": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "name": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "priority_severity": "severity-first-wins",
- "severity": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "summary": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}, - "workspace": {
- "array_value": [
- {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
], - "value": {
- "label": "Lawrence Jones",
- "literal": "SEV123",
- "reference": "incident.severity"
}
}
}
}
}