Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

{{}} smart value is flat-out not working


I am currently experimenting with the "Send Web Request" action in JIRA automation. The documentation suggests that you can parse a web response (if the "wait for response option" is checked) as follows:

In successful webhook execution, you would be able access webhook response data using the following smart values:

{{webhookResponse.body}} returns the response body, if the body is a JSON object then you can access values using dot notation e.g. {{}}

In this screenshot of the audit log, you can see the first log action where I'm logging {{webhookResponse.body}}. This works just fine. But when I try to evaluate a JSON property in the second log action using {{webhookResponse.body.error}}, you can see it evaluates as an empty string.



4 answers

1 accepted

0 votes
Answer accepted

Thanks for reporting this. We've started looking into this and already identified the issue. Expect a fix for this soon!

sreuter Atlassian Team May 28, 2020

Progress on this can be tracked here:

sreuter Atlassian Team May 31, 2020

This has been deployed to production 5 minutes ago. We successfully confirmed the fix with our own testing services, as well as the Slack API via :)

@Jaroslaw Wojciechowski @Michael Skiles Please let us know if this fixes things for you as well!

Works for me now. Thank you for fixing this.

Like sreuter likes this

Hi, although it seems this was fixed, I am now seeing the same issue again. Has this regressed by any chance?

Like Nick Canada likes this

Specifically, my results are:


{"data":{"rows":[ ["2020-04-18"] ], "cols":... "status":"completed"}


Empty string.


"status" is a top-level field on the body. Fields like {{}} also fail, but what I really want to access is {{[0][0]}}

sreuter Atlassian Team Jun 02, 2020

@Dean Putney It's a bit hard to tell, as you shortened the response object (I see a missing closing bracket in your example), but is it possible that status is part of data?

Otherwise, could you send us a screenshot of the response headers you get from your endpoint, ideally from using curl -v to do the same query?

Apologies for shortening the response too much, I corrected for clarity in some edits here. There are no missing brackets and it is a valid JSON object in my test. "status" is a top level field on the body. Similarly, "data" returns an empty string as well.

Regarding the headers, is there a way I can send that information privately?

sreuter Atlassian Team Jun 02, 2020

Sure, I'm sreuter@ :) 

Thank you, I've sent you an email with this information.

Like sreuter likes this
sreuter Atlassian Team Jun 02, 2020

Got it, answer sent :)

I have the same issue, that I am trying to access a web request hook response similar to the above {{[0][0]}}. where the data is within an array. Is this notation supported?

I am trying to use the following syntax in an email to loop items in the array.


Data from response: {{[0].[0].name}}

@Darren Lattin Hi. I was able to get this functioning– for array/list accessors use .get(0)

Hey, I am having exactly the same error:


This works fine



and it returns the following json:

"ok": true,
"group": {
"id": "xxxxxx",
"name": "xxxxx",



But then when I try to access anything within a response json nothing is working





Was this problem ever resolved for you?

I am trying to do the same thing by trying to access id using {{}}. But nothing is returned

---------what {{webhookResponse.body}} returns-----



"status": "processed",

"input_record_count": 1,

"success_record_info": [


          "index": 1,

          "id": 33,

          "type": "issue"






Even using {{webhookResponse.body.status}} returns nothing but an empty string for me.

I can see that this was resolved for others in this question but was it something done on Atlassian's side or something you were instructed to change/do?

What the exact solution is is unclear

Thanks in advance for anyone who responds :) 

Like # people like this

Any news about this? I have the same problem! Thanks

Like # people like this

I am also having this issue. Seems like it was fixed for a time but has reappeared as an issue?

I believe it's still not working. I cannot get any values with dot notation.

If this helps anyone

I did end up reaching to Atlassian Support and they gave me a smart-value to use that did work for a while

{{ webhookResponse.body.substringBetween("id\":", ",") }} 

 But I believe sometime in the summer of 2021, using the expected notation of 

{{ }}

did start working for me and is still working. Last tested December 20, 2021

Umm dot notation seems to be broken?

Dot notations for webhook.body seems to not work again in Jira Automation. We're getting empty values.
We have existing automation rules that just started breaking.
We're using the workaround with `substringBetween` suggested in one of the comments we need a solution.

It's {{webhookResponse.body}} not webhook.body

Suggest an answer

Log in or Sign up to answer