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:
- Browse projects project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { issueIds: number[]; jqls: string[]; } | - |
parameters.issueIds | number[] | 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[]; }>