-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Operations - Integrations - API
-
None
-
1
Current State:
The Operations integration events as listed here: https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v1/api-group-integration-events/#api-group-integration-events has the Create Alert endpoint, which will asynchronously create an alert and returns a request id for the alert creation, but not the alert identifier.
The Operations Integration Events APIs do not document the GetRequestStatus API endpoint, which will allow you to obtain the alert identifier and alias for a created alert by checking the RequestStatus (and rechecking until it the request is completed). It currently appears that calling the Create Alert endpoint will not give you any details you can use in the other Integration Event API endpoints.
Proposed Future State:
The documentation for the Integrations Event GetRequestStatus API endpoint should be visible and will have a similar payload to the existing GetStatusAPI endpoint in the REST APIs ( https://developer.atlassian.com/cloud/jira/service-desk-ops/rest/v2/api-group-alerts/#api-v1-alerts-requests-id-get ) except the Integration Events API use GenieKey authentication instead of Oath 2.0.
This will document that the an alert lifecycle can be managed solely through the Integrations Events API.
- Alerts creation requests will generate a request ID
- The Request ID will be used in GetRequestStatus to obtain the Alert identifier and Alert Alias
- Acknowledge, Add Note and Close Alert will use the Alert identifier obtained from the Request ID
Alternative :
This is a cosmetic issue, as the Endpoint exists but is undocumented.