Uploaded image for project: 'Automation for Cloud'
  1. Automation for Cloud
  2. AUTO-1430

Automation Action Send Web Request: Provide a Smart Value to get the RAW JSON for a web request response.

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 Definition

      I would like to use the Send Web Request Action to send a Request to a REST API Endpoint, then use the Response to perform some Actions in Jira, such as creating Issues, and finally, send the received JSON to a different, external REST API endpoint.

      Suggested Solution

      Provide a Smart Value that returns the JSON exactly as it was received without alteration.
      Something like webResponse.body._raw or the like.

      Workaround

      To do so, I would have to manually configure the JSON back into the appropriate format, which can be complicated, and potentially prone to error if the format differs based on context. This article talks about how to format the JSON manually:

              Unassigned Unassigned
              992127aa63ec Payden Pringle (Inactive)
              Votes:
              5 Vote for this issue
              Watchers:
              9 Start watching this issue

                Created:
                Updated: