Forums

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

pullRequest data unavailable in smart values

Cameron MacKenzie
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!
July 11, 2025

I'm trying to create an automation that pulls my tasks pull request data runs it through a a 3rd party process and dumps the result back into my ticket. 

The problem I am having is that my pullRequest data (url/name) isn't available in my web request step - even though

1. I'm using the Pul Request Created step

2. The data is logged to the audit log correctly

3. I'm referencing things the same way in both steps

I've confirmed it logs to the audit log but isn't available in the send web request step. What's going on?

Screenshot 2025-07-11 at 12.27.13 PM.pngScreenshot 2025-07-11 at 12.29.01 PM.png

1 answer

1 accepted

4 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.
July 11, 2025

Hi @Cameron MacKenzie -- Welcome to the Atlassian Community!

Some smart values are loaded dynamically, and this can create latency / timing problems with things like the Send Web Request action in the dynamic JSON, the URL, etc.  The same symptom can happen with Create Work Item and other actions use of JSON.

Please try the workaround of first storing the dynamic JSON with the Create Variable action, perhaps naming your variable varJson.  Then use {{varJson}} as the custom data.  This will force evaluation of the smart values before they are used later.

Kind regards,
Bill

Cameron MacKenzie
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!
July 11, 2025

This did it. 

 

I had to do a bit more manipulation to get it there (the smart value evaluator in the web request didnt like string manipulation), but it seems forcing the evaluation was the missing piece. 

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events