sum() This function returns the sum of all elements in a given number list. Bash sum(list) #Output: Number Examples Parser expression Description Bash sum([1, 2, 3, 4, 5]) This example returns: 15 Bash 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: fieldValue() subtasks() Additional information Parameters used in this function Parameter Input (data type) Description list number list Any given number list. Output This function returns a number 📚 Use cases and examples Use case JWT feature Workflow function Field type Automated action Parser functions Total time logged on an epic Number sum() fieldValue() issuesUnderEpic() Total remaining estimate in an epic (no sub-tasks) Number sum() fieldValue() issuesUnderEpic() Total remaining estimate in an epic (all linked issues) Number sum() fieldValue() issuesUnderEpic() subtasks() Total of all story points in an epic Number sum() fieldValue() issuesUnderEpic() Sum of Tempo billable hours Number executeRemoteAction() toNumberList() sum() toNumber() Sum of field value from issues in JQL query Number sum() fieldValue() issuesFromJQL() Operate with field values from sub-tasks Number Sum up value in parent issue on field change in sub-tasks Update field action fieldValue() sum() subtasks() Create a sub-task for every sub-task closed Create issue findReplaceFirst() first() findPattern() toString() sum() toNumber()