avg()

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


Bash
avg(numberList) #Output: Number


Examples

Parser expression

Description

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

This example returns 

3

Bash
 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:

Additional information

Parameters used in this function

Parameter

Input (data type)

Description

numberList

number list

Any given number list.

Output

This function returns a number


📚 Use cases and examples