I try to use smart value to submit the Web Request.
For the customer data, I try to add the POST value to certain field.
For example {
"severity": {{issue.priority}}
}
The expected value of severity in server side is integer. However, the {{issue.priority}} is a text string like "Major".
If there any if/else condition which can change the value based on smart value ?
For example:
if {{issue.priority}} == "Major", {{issue.priority}} = 3.
Hi @cc0682 -- Welcome to the Atlassian community!
Rather than trying change the value, why not access the name attribute?
And if you are looking for conditional logic, you could try the if-then-else structure.
Best regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.