Supported list types


Number list

This function returns the number of elements in a number list.


count(numberList) #Output: Number



Parser expressionDescription


count([1, 1, 2, 2])


This example returns

4


count(subtasks()) - count(fieldValue({00012}, subtasks())) 


This example returns the number of sub-tasks with an empty "Due Date".

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
numberList

Any given number list.



This function returns a




This variant counts how often a given number appears in a number list.


count(number, numberList) #Output: Number



Parser expressionDescription


count(1, [1, 1, 2, 2, 1, 0]


This example returns 

3



Parameters used in this function

ParameterInput (data type)Description
number

Any given number.
numberList

Any given number list.



This function returns a



Text list

This function returns the number of elements in a text list.


count(textList) #Output: Number



Parser expressionDescription


count(["blue", "red", "blue", "black"])


This example returns

4


count(distinct(fieldValue(%{00094}, subtasks())))


This example returns the number of components selected among all sub-tasks.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
textList

Any given text list.



This function returns a




This variant counts how often a given text appears in a text list.


count(text, textList) #Output: Number



Parser expressionDescription


count("blue", ["blue", "blue", "red", "red", "blue", "green"])


This example returns 

3



Parameters used in this function

ParameterInput (data type)Description
text

Any given text.
textList

Any given text list.



This function returns a



Issue list

This functions returns the number of elements in a given issue list.


count(issueList) #Output: Number



Parser expressionDescription


count(subtasks())


This example returns the number of all subtasks.

To achieve this, the following function is used:


count(filterByIssueType(subtasks(), "Technical task"))


This example returns the number of all subtasks that are Technical tasks.

To achieve this, the following functions are used:


count(linkedIssues("is blocked by"))


This example returns the number of all linked blocking issues.

To achieve this, the following functions are used:


count(filterByResolution(linkedIssues("is blocked by"), ""))


This example returns the number of unresolved blocking issues.

To achieve this, the following functions are used:



Parameters used in this function

ParameterInput (data type)Description
issueList

Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()).



This function returns a



Use cases and examples



Parser function cloudcount()
Map(tick)
Notes






Status
Tech review

Style guide




Short description

Returns the number of elements in a text, number or issue list.

Output

 

Available since

Label