Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Page properties
hiddentrue



Status
Tech review

Status
colourYellow
titletodoReady for review

Style guide

Status
colourYellow
titletodoReady for review

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged



Page properties
hiddentrue


Short description

Sums up all values in a given number list.

Output

Status
subtletrue
titlenumber

Available since

Status
subtletrue
colourRed
titleneeds lookup




UI Text Box
sizemedium
typeinfo
This function returns the sum of the elements in la given number list.


Code Block
languagebash
titleSyntax
linenumberstrue
sum(list) #Output: Number


UI Expand
titleExamples


Parser expressionDescription


Code Block
languagebash
linenumberstrue
 sum([1, 2, 3, 4, 5])


This example returns the number 15


Code Block
languagebash
linenumberstrue
 sum(fieldValue({issue.timeSpent}, subtasks()))


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



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
list

Status
subtletrue
titlenumber list

Any given number list.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber