Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
5.0.0, 5.0.0-j6
-
None
-
R5.0.3 Sprint 1
-
-
Description
I have attached two templates(word and excel)
This code work well on both:
${set(count,0)} #{for n=JQLIssuesCount|clause=project = BIX AND issuetype = Story AND status in ("Open")} #{if (%{'${JQLIssues[n].NumberA}'.length > 0})} ${set(count,%{${count}+${JQLIssues[n].NumberA}})} #{end} #{end} %{${count}.toFixed(2)}
This code doesn't work properly on both(Inline):
#{for n=JQLIssuesCount|clause=project = BIX AND issuetype = Story AND status in ("Open")} #{if (%{'${JQLIssues[n].NumberA}'.length > 0})} ${set(count,%{${count} + ${JQLIssues[n].NumberA}})} #{end} #{end} %{${count}.toFixed(2)}