Bulk Mutate a List of Issues
PUT /api/0/projects/{organization_slug}/{project_slug}/issues/
Bulk mutate various attributes on issues. The list of issues
to modify is given through the id
query parameter. It is repeated
for each issue that should be modified.
- For non-status updates, the
id
query parameter is required. - For status updates, the
id
query parameter may be omitted for a batch “update all” query. - An optional
status
query parameter may be used to restrict mutations to only events with the given status.
The following attributes can be modified and are supplied as JSON object in the body:
If any ids are out of scope this operation will succeed without any data mutation.
Query Parameters: |
|
Path Parameters: |
|
Parameters: |
|
Authentication: | required |
Method: | PUT |
Path: | /api/0/projects/{organization_slug}/{project_slug}/issues/ |
Example
PUT /api/0/projects/the-interstellar-jurisdiction/pump-station/issues/?id=1&id=2 HTTP/1.1
Host: sentry.io
Authorization: Bearer <token>
Content-Type: application/json
{
"isPublic": false,
"status": "unresolved"
}
HTTP/1.1 200 OK
Content-Length: 64
X-XSS-Protection: 1; mode=block
Content-Language: en
X-Content-Type-Options: nosniff
Vary: Accept-Language, Cookie
Allow: GET, PUT, DELETE, HEAD, OPTIONS
X-Frame-Options: deny
Content-Type: application/json
{
"isPublic": false,
"status": "unresolved",
"statusDetails": {}
}