I am using a Jira Automation rule that triggers a Send web request action with a POST to /rest/servicedeskapi/request. The request body is valid JSON and works correctly when sent to an external endpoint (webhook.site), but consistently returns HTTP 400 with the following error when targeting the JSM endpoint:
Unable to publish the web request - received HTTP status response: 400
Error found in the HTTP body response:
{"errorMessages":["There was an error parsing JSON. Check that your request body is valid."]}
Request body used:
{
"serviceDeskId": "1406",
"requestTypeId": "2292",
"requestFieldValues": {
"summary": "{{issue.summary}}",
"description": "{{issue.description}}"
}
}
I have also tried this same request from postman and the issue is created.
What I have verified:
The JSON is valid and parses correctly
The same body sent to webhook.site returns 200 with the full payload intact
- The same request from Postman creates the servicedesk ticket
serviceDeskId and requestTypeId are correct and verified via GET /rest/servicedeskapi/servicedesk and GET /rest/servicedeskapi/servicedesk/1406/requesttype/2292/field
Smart values ({{issue.summary}}, {{issue.key}}, etc.) are resolving correctly as confirmed by webhook.site logs
The issue is specific to Jira Automation's Send web request — the same request works when executed manually via HTTP client
Expected behavior: The automation rule creates a new JSM request successfully.
Actual behavior: Returns HTTP 400 — JSON parsing error, despite the body being valid.
Instance: dss-satellogic.atlassian.net
Plan: Premium