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