-
Suggestion
-
Resolution: Unresolved
-
None
-
0
-
At this time it's not possible to customize the payload which is sent on the Service Desk automation for Jira Cloud. On the Server Version we can customize and set some variables as shown on the doc that it follows:
Jira Service Desk webhooks
From Jira Service Desk Server 4.1, you can send a custom payload in your automation webhook.
It would be nice to have this same option on Jira Cloud as well.
***
As an Admin, I would like to see Incoming webhooks return a value when they receive a request.
Expected behavior: Sending a request to an Incoming webhook URL will return a result that we can use to determine if the request was successful or failed
Current behavior: The API will always return a 200 code, even when the webhook URL is invalid.
***
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 "[ ]"
- If you send the webhook with a variable, it's not possible to retrieve that information. That causes a system limitation since it's not possible to use the URL variable to create smart values, sometimes it's impossible to find the information we are looking for in the body of the request.
- is duplicated by
-
AUTO-251 Read variables from webhook URL
- Closed
-
AUTO-879 Provide a Response on Incoming Webhooks
- Closed
-
JSDCLOUD-12073 Ability to parse the JSON data received from Incoming Webhooks - Jira Automation
- Closed
-
JSWCLOUD-22801 Add Webhook retry policy for Automation rules - allow users to customise payload and retry policy
- Closed
-
JSWCLOUD-23016 Being able to set/configure automation webhook timeout.
- Closed
We need to be able to accept json payloads from third part systems in order to create issues inside Jira and follow the processes in our Technology organisation.
Most of the time those payloads will contain arrays which currently results in an error:
Cannot deserialize value of type `java.util.LinkedHashMap<java.lang.String,java.lang.Object>` from Array value (token `JsonToken.START_ARRAY`) at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 2, column: 11] (through reference chain: com.codebarrel.automation.api.webhook.IncomingWebhook["data"])
This limits the capabilities for automating processes that includes third party systems feeding data into Jira.