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:
- Global bulk change permission.
- Delete issues permission in all projects that contain the selected issues.
- Browse project permission in all projects that contain the selected issues.
- If issue-level security is configured, issue-level security permission to view the issue.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { selectedIssueIdsOrKeys: string[]; sendBulkNotification?: boolean | null; } | - |
parameters.selectedIssueIdsOrKeys | string[] | 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 | null | A 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; }>