Skip to content

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:

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ jql?: string; }-
parameters.jql?stringA 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; }>