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

Compare with Current View Page History

« Previous Version 11 Next »

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

This example returns:

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.

To achieve this, the following functions are used:

Additional information

Parameters used in this function

ParameterInput (data type)Description
list

NUMBER LIST

Any given number list.
Output

This function returns a NUMBER