-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Component/s: Operations - Integrations - API
-
None
-
1
-
Severity 2 - Major
-
2
Issue Summary
The JSM Operations REST API Get Integration Action endpoint (GET /v1/integrations/{integrationId}/actions/{actionId}) returns 422 UNPROCESSABLE_ENTITY – "Mapping configuration is not found!" for an outgoing Custom Action that is enabled but has no tags configured.
The same action shows up correctly in the List Integration Actions response (GET /v1/integrations/{integrationId}/actions) with actionMappingType: CustomAction, and the parent integration (GET /v1/integrations/{integrationId}) returns 200 OK. Only the endpoint that fetches a single action fails. This means apps can't read the full configuration of these actions through the API.
Steps to Reproduce
1. In a JSM site, go to Settings → Operations → Integrations and create or open an integration with outgoing (forwarding) actions, for example an API integration.
2. Under the outgoing actions, enable Custom Action and leave the Tags field empty. Save the integration.
3. Call List Integration Actions: GET https://api.atlassian.com/jsm/ops/api/\{cloudId}/v1/integrations/{integrationId}/actions Note the id of the action where actionMappingType is CustomAction (type: postToUrl, direction: outgoing, domain: alert, groupType: forwarding).
4. Call Get Integration Action with that action ID: GET https://api.atlassian.com/jsm/ops/api/\{cloudId}/v1/integrations/{integrationId}/actions/{actionId}
Expected Results
The Get Integration Action endpoint returns 200 OK with the Custom Action's full details, matching the List Integration Actions response. At minimum, it should return a clear, documented error, not a 422 for an action the List endpoint says exists.
Actual Results
The Get Integration Action endpoint returns 422 UNPROCESSABLE_ENTITY:
{
"errors": [
]
}
List Integration Actions and Get Integration both return 200 OK, and the same action appears in the List response.
The below exception is thrown in the API response (JSM Operations is Cloud-only, so there's no local .log file):
HTTP/1.1 422 Unprocessable Entity
content-type: application/json;charset=UTF-8
server: AtlassianEdge
]}
Workaround
Do one of these in the integration's outgoing action settings:
• If the Custom Action isn't being used and has no tags, disable it.
• If the Custom Action needs to stay enabled, add at least one tag to it.
After this change, the Get Integration Action endpoint should return the action successfully.