The countif() function returns the number of instances of a specified template. The instances must be descendants (e.g., children, grandchildren, etc.) or an association of the current work item to be included in the aggregation.
Syntax
countif(template API name, condition)
Argument | Description |
template API name / association name
(required) |
The template API name OR an association of the template instances to be counted.
|
condition
(optional) |
The filter that determines instances to be included in the count.
Notes
|
Where Available
- Metric expression
- Attribute expression
Examples
Where | Example(s) |
Metric expression
Attribute expression |
countif(Initiative__t)
|