Alerts
Add attachment to alert
Changed onAdds a file attachment to an alert.
post/api/{cloudId}/v1/alerts/{alertId}/attachments
Request
- Base URLhttps://api.atlassian.com/jsm/ops
- URLhttps://api.atlassian.com/jsm/ops/api/{cloudId}/v1/alerts/{alertId}/attachments
- Auth
- HTTP basic
- or OAuth 2Authorization code: https://auth.stg.atlassian.com/authorizeToken URL: https://auth.stg.atlassian.com/oauth/token scopes: read:ops-alert:jira-service-management, write:ops-alert:jira-service-management
Path parameters
cloudIdstring required
The cloud ID of the Jira instance.
alertIdstring required
The ID of the alert.
Request body multipart/form-data
Response
Returned if the attachment is successfully added.
Example response
{
"id": "1234567890",
"attachmentName": "error_log.txt",
"insertedAt": "2024-01-05T07:06:47.958Z"
}Changes
- info
the endpoint scheme security
OAuth2was added to the API
- info
- info
endpoint added
- info