Hello community,
I've added a webhook component to my Jira automation flow to gather all sprints (https://jira.hel.kko.ch/rest/agile/1.0/board/18307/sprint)
To process the response and find a specific sprint, I used
{{#webhookResponse.body.values}}{{#if(equals(name,"abc"))}}{{id}}{{/}}{{/}}which works fine.
Now I want "abc" not hardcoded but as variable or smart value of the issue field "issue.customfield_12919".
But neither
{{#webhookResponse.body.values}}{{#if(equals(name,issue.customfield_12919))}}{{id}}{{/}}{{/}}nor
{{#webhookResponse.body.values}}{{#if(equals(name,issue.{{customfield_12919}}))}}{{id}}{{/}}{{/}}nor
{{#webhookResponse.body.values}}{{#if(equals(name,variable))}}{{id}}{{/}}{{/}}works here.
Without the curly brackets, the code line gives me an empty response. With the curly brackets, the code line gives the error "parameters not closed". Even with the variable, it gives me an empty response.
Any ideas how to pass a smart value or variable in this line of code?
Thx in advance and best regards
Stefan