Function: countIssues()
ts
function countIssues(
client,
parameters,
options?
): Promise<{
[key: string]: unknown;
count?: number;
}>;Defined in: src/cloud/api/issueSearch.ts:95
Provide an estimated count of the issues that match the JQL. Recent updates might not be immediately visible in the returned output. This endpoint requires JQL to be bounded.
This operation can be accessed anonymously.
Permissions required: Issues are included in the response where the user has:
- Browse projects project permission for the project containing the issue.
- If issue-level security is configured, issue-level security permission to view the issue.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { jql?: string; } | - |
parameters.jql? | string | A JQL expression. For performance reasons, this parameter requires a bounded query. A bounded query is a query with a search restriction. |
options? | RequestOptions | - |
Returns
Promise<{ [key: string]: unknown; count?: number; }>