Skip to content

Function: matchIssues() ​

ts
function matchIssues(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  matches: object[];
}>;

Defined in: src/cloud/api/issueSearch.ts:62

Checks whether one or more issues would be returned by one or more JQL queries. Up to 10 JQL queries can be specified and up to 50 issue IDs included in the request.

Permissions required: None, however, issues are only matched against JQL queries where the user has:

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ issueIds: number[]; jqls: string[]; }-
parameters.issueIdsnumber[]A list of up to 50 issue IDs.
parameters.jqls?string[]A list of up to 10 JQL queries.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; matches: object[]; }>