I can't figure out why this isn't working with the IF. According to the online docs, equals returns a true or false but the {{math}} smart-value IF condition isn't accepting it.
{{#math}}
IF({{equals(issue.Advisement Type,"Post Production Gap Analysis")}},40,0)
+ IF({{equals(issue.Advisement Type,"Content changes")}},40,0)
{{/}}
"Advisement Type" is a custom bullet selection list.
The error I'm getting is:
Error rendering smart-values when executing this rule:
Function IF expected 3 parameters, got 2: IF(,40,0) + IF(,40,0)