sum(list) #Output: Number
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:
Parameters used in this function
list
This function returns a
Sums up all values in a given number list.