Hello,
The below works for 2 values:
{{forms.last.S2Amt1.plus(forms.last.S2Amt2).asCurrency}}
I am trying to sum additional values but it is not working.
I have tried:
{{forms.last.S3Amt1.plus(forms.last.S3Amt2).plus(forms.last.S3Amt3).asCurrency}} and it is only adding the S3Amt1 and S3Amt2. Any suggestions? Thank you.
Hi Jackie,
Have you tried using a math expression like this:
{{#=}} {{forms.last.S2Amt1}} + {{forms.last.S2Amt2}} + {{forms.last.S2Amt3}} {{/}}
https://support.atlassian.com/cloud-automation/docs/jira-smart-values-math-expressions/
Throw that into a variable, e.g. {{result}} and return that as {{result.asNumber.asCurrency}} and you should be good to go.
Best regards,
Bob
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.