swsd_update_incident
Update an existing SWSD incident by providing its ID and the fields to change; only specified fields are modified.
Instructions
Update an existing SWSD incident. Pass id and any fields to change. Only fields you provide are sent — others stay as-is. For state transitions prefer swsd_update_incident_state (safer wrapper); for assignment prefer swsd_assign_incident; for comments use swsd_add_incident_comment. WRITE — does not retry on transient failure. To set tenant-specific custom field values, pass custom_fields: [{name, value}] — call swsd_describe_custom_fields first to discover field names and (for Dropdowns) allowed values. Validated for Text, Dropdown, Number, Checkbox, and Date types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | SWSD incident reference. Accepts either the internal id (>=7 digits, e.g. 180457930) or the human-facing number (<=6 digits, e.g. 60310). The handler auto-detects via digit count. | |
| name | No | New short title. | |
| description | No | New description (replaces existing). | |
| priority | No | New priority name. | |
| category_name | No | New category name. | |
| site_name | No | New site name. | |
| department_name | No | New department name. | |
| custom_fields | No | Set tenant-specific custom field values on the record. Multi_picklist and User-type fields are not yet supported by this tool (set those via the SWSD UI). Validated for Text, Dropdown, Number, Checkbox, and Date types. |