...
...
...
SyntaxSyntax
countPages(cqlQuery)
Description
Excerpt |
---|
Returns the number of issues that matched the CQL search query. |
Parameters
Parameter name | Type | Required | Description |
---|---|---|---|
CQL query | string | yes | Confluence Query Language (CQL) search string. |
Info |
---|
Read more about CQL Functions in the Confluence CQL documentation. |
Return type
number
Example
...
Code Block |
---|
string cql = "(type=page and Space=DEV) OR (creator=bobsmith and type=blogpost)";
number count = countPages(CQL);
print("Return " + count); |
Print Return 15 (for example)
See also
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|