You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »


This function returns the sum of elements in l.
Syntax
sum(list) #Output: Number
Examples
Parser expressionDescription
 sum([1, 2, 3, 4, 5])

This example returns the number 15

 sum(fieldValue({issue.timeSpent}, subtasks()))

This example returns a number representing the total time spent in minutes in all sub-tasks of current issues.

Additional information

Parameters used in this function

ParameterInput (data type)Description
list

NUMBER LIST

Any given number list.
Output

This function returns a NUMBER