You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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?
Hi @G A and welcome to this community
You cannot mix [entry.field_name] notations inside the Velocity templates conditions
If your ProductSelection field is just a dropdown then it should be as simple as checking label value
#if(${ProductSelection.label} == 'Beacon')
"labels" : ["[entry.ProductSelection.escapeJSON]"],
#end
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.