Remove key/value properties from a JSM alert
jsm_remove_alert_extra_propertiesRemoves specified property keys from a Jira Service Management alert by alert ID to clean up extra alert data. Removal is asynchronous; verify with the returned request ID.
Instructions
Remove properties from a JSM alert by key.
Args:
alert_id (string): the full alert id (not the tinyId)
keys (string[]): the property keys to remove — keys, not values
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
A key that is not present is not an error, so a receipt here does not prove anything was removed. Read the alert back if that matters.
Constraints and errors:
Needs delete:ops-alert:jira-service-management, a separate grant from write:ops-alert.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"alert_id": "<alert_id>",
"keys": "<keys>"
},
"name": "jsm_remove_alert_extra_properties"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Property keys to remove. Keys, not values. | |
| alert_id | Yes | Full alert id, e.g. '9b251e07-73c9-4907-9996-8cb53a6a20d0-1704440650350'. This is NOT the short tinyId shown in the JSM UI — get the full id from jsm_list_alerts first. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| alert_id | Yes | ||
| requestId | No |