I have a math expression in a Jira automation and want depending on a numeric smart value to return string as result:
{{#=}} IF({{var}}=1,"One","NotOne") {{/}}
Error: Error rendering smart-values when executing this rule: Unable to parse expression
I tried with different quotes. Escape symbols and searching for functions...
Hey @konstantin.vasilev ,
I'm afraid that you can only use numbers with the math IF, like so:
{{#=}}IF(true, 1, 0){{/}}
It isn't possible to use Strings as the two options I'm afraid.
Cheers,
Simeon.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.