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 descriptionReturns a Statussubtletruetitlenumber representing the sum of elements in l.Output Statussubtletruetitlenumber UI Text Box
sizemedium
typeinfo
The This function returns a Statussubtletruetitlenumber representing the sum of all elements in la given number list.


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


UI Expand
titleExamples


: 15

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:

Parser expressionDescription


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


This example returns:

The function returns the

Status
subtletrue
titlenumber


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


The function returns a

Status
subtletrue
titlenumber



UI Expand
titleAdditional information

Parameters used in this function

ParameterInput (data type)Description
<parameter>list

Status
subtletrue
titledata typenumber list

Any given number listParameter description.



UI Expand
titleOutput

The This function returns a

Status
subtletrue
titlenumber



Image AddedUse cases and examples

Page properties report
firstcolumnUse case
headingsJWT feature, Workflow function, Field type, Automated action, Parser functions
cqllabel = "parser_func_sum" and space = currentSpace()


Page properties
hiddentrue
id1


Parser function cloudsum()
Map(tick)
Notes




Page properties
hiddentrue



Status
Tech review

Status
colourGreen
titledone

Style guide

Status
colourGreen
titledone

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

Label

Status
colourRed
titlestaff pick