Skip to content

Function: submitBulkDelete()

ts
function submitBulkDelete(client, parameters): Promise<{
[key: string]: unknown;
  taskId?: string;
}>;

Defined in: src/cloud/api/issueBulkOperations.ts:34

Use this API to submit a bulk delete request. You can delete up to 1,000 issues in a single operation.

Permissions required:

Parameters

ParameterTypeDescription
clientClient-
parameters{ selectedIssueIdsOrKeys: string[]; sendBulkNotification?: boolean | null; }-
parameters.selectedIssueIdsOrKeysstring[]List of issue IDs or keys which are to be bulk deleted. These IDs or keys can be from different projects and issue types.
parameters.sendBulkNotification?boolean | nullA boolean value that indicates whether to send a bulk change notification when the issues are being deleted. If true, dispatches a bulk notification email to users about the updates.

Returns

Promise<{ [key: string]: unknown; taskId?: string; }>