Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Web request response body value as a URI parameter in another web request

Wojciech Klupś
Contributor
June 29, 2021

According to this article: https://confluence.atlassian.com/automation/send-web-request-action-now-provides-response-data-993924775.html we have access to response body of a web request action.

What if I would like to get one value from web request response body and use it as a URI parameter of following another web request action (POST or PUT)? How I can achieve that?

1 answer

1 accepted

1 vote
Answer accepted
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 1, 2021

Hi Wojciech,

Once you have run the first web request action, you will probably want to create a variable that stores the specific value.  Please see https://support.atlassian.com/jira-software-cloud/docs/automation-actions/#Automationactions-Createvariable

Once the variable has been created and stores the value from your first response, you can then create other actions in this automation rule to use that variable like it was a smart value.

Try that and let me know if this helps.

Andy

Wojciech Klupś
Contributor
July 4, 2021

That worked out like a charm :) Thanks!

Like Andy Heinzer likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events