Delete a note from a JSM alert
jsm_delete_alert_notePermanently delete a note from a Jira Service Management alert's timeline to remove sensitive or misplaced entries. Use only for notes that should never have been written, as deletion is irreversible.
Instructions
Permanently remove a note from a JSM alert's timeline.
Reach for this only for a note that should never have been written — a pasted credential, someone's personal information, a note on the wrong alert. Not for a note that turned out to be wrong: that is what jsm_update_alert_note is for, and being able to see what a responder believed at the time is most of what the timeline is worth.
Args:
alert_id (string): the full alert id (not the tinyId)
note_id (string): id of the note to delete, from jsm_list_alert_notes
Returns: { "deleted": true, "note_id": string }
There is no undo, and no confirmation step at the API. The note is gone the moment this returns. Confirm with the user before calling it, and quote the note's text back to them first so they are deleting the thing they think they are.
Unlike most alert writes this is synchronous: the API answers 204 with no body, so there is no requestId to verify.
Constraints and errors:
Needs delete:ops-alert:jira-service-management, which is a separate grant from write:ops-alert. A token that can edit notes may still get 403 here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note_id | Yes | Id of the note to delete, from jsm_list_alert_notes. Not the note's text. | |
| 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 |
|---|---|---|---|
| deleted | Yes | ||
| note_id | No |