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.