Assign a JSM alert to a person
jsm_assign_alertAssign a single JSM alert to one owner so it's clear who is working it. Use when triage decides whose problem it is.
Instructions
Make one person the owner of a JSM alert, so it is clear who is working it.
Assigning names an owner; jsm_add_alert_responder adds people to notify without taking ownership away. Reach for this when triage has decided whose problem it is, and for that one alert rather than a class of them — routing rules, not assignment, are how a class of alerts finds its team.
Args:
alert_id (string): the full alert id (not the tinyId)
account_id (string): Atlassian account id of the assignee
Returns: { "requestId": string, "result": string, "alert_id": string }
IMPORTANT: this action is asynchronous. Verify with jsm_get_request_status using the returned requestId.
account_id is an Atlassian account id, not an email address and not a display name. It looks like '712020:9ae5385e-6a4c-4f0e-9c02-6f8a1e21d7b1'. Both other forms are rejected. To find one: jsm_get_on_call and jsm_get_alert both return account ids for the people they name, so read the id from there rather than guessing from a name.
Examples:
"Assign this to whoever is on call for payments" -> jsm_get_on_call first, take the account id from the result, then assign
Constraints and errors:
HTTP 422 or a failed request status usually means the account id is wrong, or the account has no JSM Operations access on that team.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| 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. | |
| account_id | Yes | Atlassian account id of the assignee, e.g. '712020:9ae5385e-…'. NOT an email address and NOT a display name — both are rejected. Account ids appear in jsm_get_alert's responder and owner fields and in jsm_get_on_call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | ||
| alert_id | Yes | ||
| requestId | No |