Versions Compared

Key

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


Page properties
hiddentrue



Status
Tech review

Status
titletodo

Style guide

Status
titletodo

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



Page properties
hiddentrue


Short description

Returns the sum of elements in lSums 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 elements in l.


Code Block
languagebash
titleSyntax
linenumberstrue
sum(number list l) #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({00025issue.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
xxxlist

Status
subtletrue
titledata typenumber list

Any given number listParameter description.



UI Expand
titleOutput

This function returns a

Status
subtletrue
titlenumber