Update issues in bulk
Move up to 500 issues to one status with one shared close record, for example closing a set of findings as duplicates of one original. The same rules apply as in Update an issue, checked for every issue before anything is written.
Send dryRun: true to check permissions and see each issue’s change without writing. A bulk update records each issue in the audit log, but does not send the per-issue issue.updated webhook or realtime update, or learn from false-positive dismissals, as a single update does.
Errors: 400 for an invalid value or an inconsistent duplicate; 403 in workspaces where Pensar owns the verdict (move issues to in-review instead); 404 when an issue or the duplicateOf original is not in the workspace.
Requires the issues:write API key scope.
Authentication
A workspace API key, sent as Authorization: Bearer.
A workspace API key, sent as x-api-key.
Request
The original issue, as a UUID or label. Required with, and only with, closedDisposition: "duplicate".
Free-text reason for closing.
Response
The issues that were, or with dryRun would be, updated.