Hi everyone
I'm trying to provide a numeric score against different types of values submitted in a custom field, e.g, when 'effort' is marked as XXS the value should be -0.25 but when it's marked as XS it should be a value of -0.5 etc. I have written the following code for an automation but when I have anything more than the first row the result is always a sum of the values, i.e. -0.75 (-0.25 +-0.5). What am I doing wrong?
{{#if(equals(epic.Effort,XXS))}} -0.25 {{/}}
{{#if(equals(epic.Effort,XS))}} -0.5 {{/}}
Many thanks