I want to create a risk result based on impact and probability.
Impact/Prob will be select list custom fields, an automation will work out a risk value.
I'm trying to use the Create Variable action, to set a value depending on the Impact selected by the user.
A final action to write the resulting value back to the Issue.
{{#=}}{{RiskProbability|0}}*{{RiskImpact|0}}{{/}}
If I exclude the |0, AFJ throws an error "unknown unary operator *", with the |0, the result is 0 so I believe AFJ is treating the smart variable as strings, is there any way to cast, or another way of fixing this?