Ability to parse the JSON data received from Incoming Webhooks - Jira Automation

XMLWordPrintable

      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.

              Assignee:
              Unassigned
              Reporter:
              Jeison (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: