Forums

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

in an Automation rule, {{webResponse.body}} and/or {{webResponses}} produces no text in the issue

Katie Kusjanovic
Contributor
April 9, 2025

Hello!

I'm creating an Automation rule and one of the actions is "Send web request".

When the rule runs, the rule audit log shows that a 200 was recieved.

The next action is "put the web request response into the issue description field".

(I've also tried comments and the summary field.)

But there is no web response "content" in the issue after the automation runs.

 

What am i doing wrong?

comment action config.JPGcomment result.JPGrule audit log.JPG

(FYSA, i tried using smart variables but that didn't work either ...)

2 answers

1 accepted

2 votes
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2025

Hi @Katie Kusjanovic -- Welcome to the Atlassian Community!

First, have you tried writing {{webResponse.body}} to the log to confirm the structure matches what you are expecting with the other attributes you are logging?

 

Next, in the Send Web Request action, did you select the option to wait until the response happens?

Delay execution of subsequent rule actions until we've received a response for this web request

 

Finally, I notice your rule is using the Issue Created trigger.  If any of the newly created issue fields are used in that Send Web Request action, I recommend adding a Re-fetch Issue action immediately after the trigger and before the request. 

The reason is that trigger can fire so quickly that some issue data may not be available to the rule yet.  Adding the re-fetch will slow the rule a bit and reload the data before the next steps proceed.

 

Kind regards,
Bill

0 votes
Katie Kusjanovic
Contributor
April 9, 2025

>>First, have you tried writing {{webResponse.body}} to the log to confirm the structure matches what you are expecting with the other attributes you are logging?

 

yes!  most definitely!  especially once i figured out where that logging was actually occuring ;) ;)

>>Delay execution of subsequent rule actions until we've received a response for this web request

seems like this is probably an important box to check :face-palm:

in fact, now everything's working!!! wow! computers are fast!!!

 

thanks so much @Bill Sheboy 

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 9, 2025

Awesome; I am glad to learn it is working!

Like Katie Kusjanovic likes this

Suggest an answer

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

Atlassian Community Events