Number list
This function returns the number of elements in a number list.
count(numberList) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns 4 |
|
Bash
|
This example returns the number of sub-tasks with an empty "Due Date". To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number list |
Any given number list. |
Output
This function returns a number
Number in number list
This variant counts how often a given number appears in a number list.
count(number, numberList) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns 3 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
number |
Any given number. |
|
|
number list |
Any given number list. |
Output
This function returns a number
Text list
This function returns the number of elements in a text list.
count(textList) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns 4 |
|
Bash
|
This example returns the number of components selected among all sub-tasks. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text list |
Any given text list. |
Output
This function returns a number
Text in text list
This variant counts how often a given text appears in a text list.
count(text, textList) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns 3 |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
text |
Any given text. |
|
|
text list |
Any given text list. |
Output
This function returns a number
Issue list
This functions returns the number of elements in a given issue list.
count(issueList) #Output: Number
Examples
|
Parser expression |
Description |
|---|---|
|
Bash
|
This example returns the number of all subtasks. To achieve this, the following function is used: |
|
Bash
|
This example returns the number of all subtasks that are Technical tasks. To achieve this, the following functions are used: |
|
Bash
|
This example returns the number of all linked blocking issues. To achieve this, the following functions are used: |
|
Bash
|
This example returns the number of unresolved blocking issues. To achieve this, the following functions are used: |
Additional information
Parameters used in this function
|
Parameter |
Input (data type) |
Description |
|---|---|---|
|
|
issue list |
Any given issue list. Usually this value is retrieved from a function (e.g. linkedIssues() or subtasks()). |
Output
This function returns a number