Alerts

Assign alert

This endpoint is used to assign an existing alert to a user or a group. Assigning an alert ensures that responsibility for addressing the alert is clearly established, promoting efficient alert management and quicker resolution times. It is a crucial operation for coordinating incident response efforts effectively.

post/api/{cloudId}/v1/alerts/{id}/assign

Request

  • Base URL
    https://api.atlassian.com/jsm/ops
  • URL
    https://api.atlassian.com/jsm/ops/api/{cloudId}/v1/alerts/{id}/assign
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.stg.atlassian.com/authorize
      Token URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-alert:jira-service-management, write:ops-alert:jira-service-management

Path parameters

idstring required

Identifier of the alert.

Request body

accountIdstring required

Represents the identifier for the user to which the alert is to be assigned.

Example request

{
  "accountId": "bb4d9938-c3c2-455d-aaab-727aa701c0d8"
}

Response

Returned if the request is successful.

resultstring

Indicates the outcome of the request.

requestIdstring

Identifier of the request. This ID can be used to trace or track the request in the system logs or for debugging purposes in case the request fails or causes an error.

tookinteger

Example response

{
  "result": "Request will be processed",
  "requestId": "d383c6e9-b1e7-4b59-9c35-72f1a2187777"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.