Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-12073

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

XMLWordPrintable

    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      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.

            Unassigned Unassigned
            jspaniol Jeison
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: