I have added a custom variable to the first step of my automation,
Smart Value of variable (which worked fine when I used it directly in the HTTP step):
postBody = {{issue.comments.last.body}}When I try to use this variable {{postBody}} in the later Web Request step, I get nothing.
{
"jirakey":"{{issue.key}}"
,"statusid":"{{issue.status}}"
,"statuscode":"{{issue.status.name}}"
, "externalref":"{{issue.Ext Ref}}"
, "author":"{{issue.comments.last.author.emailAddress}}"
, "note":"{{postBody}}"
}Example from Validate:
{
"jirakey": "SCM-227",
"statusid": "10001",
"statuscode": "Done",
"externalref": "436976",
"author": "xxx@yyyy.com",
"note": ""
}