You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Supported list types

Number list

This function returns the number of numeric values in l.

Syntax
count(number list l) #Output: Number
Examples
Parser expressionDescription
append([1, 1, 2, 2])

This example returns the number 4

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

This example returns the number of sub-tasks with field "Due Date" unset.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER


This function returns the number of times n appears in l.

Syntax
count(number n, number list l) #Output: Number
Examples
Parser expressionDescription
count(1, [1, 1, 2, 2, 1, 0]

This example returns the number 3

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER


Text list

This function returns the number of text values in l.

Syntax
count(string list l) #Output: Number
Examples
Parser expressionDescription
count(["blue", "red", "blue", "black"])

This example returns the number 4

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

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

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER


This function returns the number of times s appears in l.

Syntax
count(string s, string list l) #Output: Number
Examples
Parser expressionDescription
count("blue", ["blue", "blue", "red", "red", "blue", "green"])

This example returns the number 3

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER


Issue list

This functions returns the number of issues in l.

Syntax
count(issue list l) #Output: Number
Examples
Parser expressionDescription
count(filterByResolution(linkedIssues("is blocked by"), ""))

This example returns the number of non-resolved blocking issues.

Additional information

Parameters used in this function

ParameterInput (data type)Description
xxx

DATA TYPE

Parameter description.
Output

This function returns a NUMBER