Status
Tech review

Style guide




Short description

Calculates the average values of a given number list.

Output

Available since




This function calculates the average value of a given number list.


avg(list) #Ouput: Number



Parser expressionDescription


avg([1, 2, 3, 4, 5])


This example returns 

3


 avg(fieldValue({issue.estimate}, linkedIssues("is blocked by")))


This example returns the average remaining time throughout all blocking issues.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
list

Any given number list.



This function returns a