I have been trying to put a condition on ConfiForm in order to update Jira ticket based on user selection on the ConfiForm, but it is not able to create Jira ticket. The code is working fine without the condition.
The same code is working when I am using "Create Jira Issue" Action. But While trying with Web Service Request it is not working.
Example condition, where I am trying to put label on Jira based on whether the user has attached file or not, "fi" is the field for attachment:
#set($attachment = "[entry.fi]")
#if($attachment == "")
"labels": ["ContentNA"],
#else
"labels": ["Content"],
#end