Bulk Mutate a List of 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.

Path Parameters

organization_slug (string)
REQUIRED

The slug of the organization the issues belong to.

project_slug (string)
REQUIRED

The slug of the project the issues belong to.

Query Parameters:

id (integer)

A list of IDs of the issues to be mutated. This parameter shall be repeated for each issue. It is optional only if a status is mutated in which case an implicit update all is assumed.

status (string)

Optionally limits the query to issues of the specified status. Valid values are "resolved", "unresolved" and "ignored".

Body Parameters

status (string)
statusDetails (object)
ignoreDuration (integer)
isPublic (boolean)
merge (boolean)
assignedTo (string)
hasSeen (boolean)
isBookmarked (boolean)

Scopes

<auth_token> requires the following scopes:
  • project:write
PUT /api/0/projects/{organization_slug}/{project_slug}/issues/
curl https://sentry.io/api/0/projects/{organization_slug}/{project_slug}/issues/ \
 -H 'Authorization: Bearer <auth_token>' \
 -X PUT \
 -H 'Content-Type: application/json' \
 -d '{"isPublic":false,"status":"unresolved"}'
RESPONSESCHEMA
{
  "isPublic": false,
  "status": "unresolved",
  "statusDetails": {}
}