Context - On submit of Coniform, an automated Jira ticket is getting created.
In the confiform, I have a drop down field named 'ProductSelection'
What I am trying to achieve:
I am trying to assign a specific value to the 'labels field in Jira based on the below condition
Condition:
If the ProductSelection.label = "Beacon"
then I have to assign a value to the 'labels' in Jira
Otherwise I will not pass any value for 'labels' field
Inside IFTTT, I used the below code
#if(${entry.ProductSelection.hasLabel("Beacon")})
"labels" : ["[entry.ProductSelection.escapeJSON]"]
#end
However it doesn't work. Not getting error also. It is not entering the If condition
What change is required here?