Forums

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

Automation: can't use smart value {{webResponse}}

Adan Zeng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 5, 2023 edited

I use web request in if/else block:

image.png This is my response body.

image.png But in the following step, when I want to use {{webResponse}}, it shows the value is empty, no matter I use {{webResponse.body.message}} or {{webResponse.body}}, even {{webResponse}}, it shows empty.

image.png

2 answers

1 accepted

4 votes
Answer accepted
Kristopher Perez
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.
March 10, 2023

Hey @Adan Zeng ,

Before complicating the automation with If/Else blocks, make sure you are getting the responses that you expect.  The best way to do this is with the "Log Action" action.

There shouldn't be anything that stops the web request body or status from being reported in the If/Else block.

This works fine for me with an automation I am already using to monitor for new Public Filters.

Your next step would be to add a Log Action right after the request and keep working at it until you get the responses you are expecting.  The one "Gotcha" is making sure to have the check marks under "Wait for responses."  Based on what you are looking for you would need both.

 

 

 

Kris

Cursor_and_Automation_-_JIRA-2.png

Cursor_and_Automation_-_JIRA.png

3 votes
Melo
Community Champion
March 6, 2023

Hi @Adan Zeng, welcome to the community!

Have you tried the smart value {{webhookResponse.body}}?

https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--webhookResponse--

Cheers,

Melo

Adan Zeng
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 8, 2023

It didn't work for me. I think the root cause is I use web request in if/else block, and I can only get the response inside block.

Thomas Wolfe
Contributor
February 25, 2024

Thanks Melo

Had similar problem. Replaced webResonse with webhookResponse and it worked

Like • 2 people like this
Deepak Rai
Community Champion
January 8, 2025

This works for me as well.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, confluence, loom, atlassian intelligence, ai notes, ai-powered meeting notes, atlassian community events, ace, confluence ai, loom ai integration, ai note-taking, atlassian ai features, team '25, atlassian live learning, confluence automation

Unlock AI-powered meeting notes: Join our live learning session! 📹

Did you catch the news at Team ‘25? With Loom, Confluence, Atlassian Intelligence, & even Jira 👀, you won’t have to worry about taking meeting notes again… unless you want to. Join us to explore the beta & discover a new way to boost meeting productivity.

Register today!
AUG Leaders

Atlassian Community Events