Resolve Incident
resolve_incidentResolve an incident by setting its state to Resolved and adding resolution notes. Use when an incident is in an active state like New, In Progress, or On Hold.
Instructions
Resolve an incident by setting state to Resolved (6) with resolution notes. IMPORTANT: This changes the incident state. The incident must typically be in an active state (New, In Progress, On Hold) for this to succeed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sys_id | Yes | The sys_id of the incident to resolve. | |
| instance | No | The ServiceNow instance auth alias to use. This is the alias configured via `snc configure` (e.g., "myinstance", "prod", "test"). The user will typically refer to this by name when saying things like "on my myinstance instance". If not provided, falls back to the SN_AUTH_ALIAS environment variable. | |
| close_code | No | The close code for the resolution (e.g., "Solved (Permanently)", "Solved (Work Around)", "Not Solved (Not Reproducible)"). | |
| resolution_notes | Yes | Notes describing how the incident was resolved. These become the close_notes on the record. |