-
Suggestion
-
Resolution: Duplicate
-
None
Problem
On an Incoming Webhook trigger in Jira Automation, a payload that encloses JSON data in an array "[ ]" will cause the rule to fail with (when parsing the data):
"Cannot deserialize value of type `com.codebarrel.automation.api.webhook.IncomingWebhook` from Array value (token `JsonToken.START_ARRAY`) at [Source: (ByteArrayInputStream); line: 1, column: 1]"
There is no way to parse the data in Jira as fetching from the payload fails. webhookData is unable to point to the JSON root when enclosed in "[ ]"
Suggested Solution
Provide the ability to parse the data in Jira after receiving the external request.
Workaround
No workarounds available at the moment.
- duplicates
-
AUTO-71 More ways to work with webhooks in Automation - add the ability to send a custom payload or specify a retry policy, read variables from webhook URL, send response on incoming webhooks
- Gathering Interest