Update an Issue

PUT /api/0/issues/{issue_id}/

Updates an individual issues’s attributes. Only the attributes submitted are modified.

Path Parameters:
  • issue_id (string)

    the ID of the group to retrieve.

Parameters:
  • status (string)

    the new status for the issue. Valid values are "resolved", resolvedInNextRelease, "unresolved", and "ignored".

  • assignedTo (string)

    the actor id (or username) of the user or team that should be assigned to this issue.

  • hasSeen (boolean)

    in case this API call is invoked with a user context this allows changing of the flag that indicates if the user has seen the event.

  • isBookmarked (boolean)

    in case this API call is invoked with a user context this allows changing of the bookmark flag.

  • isSubscribed (boolean)
  • isPublic (boolean)

    sets the issue to public or private.

Authentication: required
Method: PUT
Path: /api/0/issues/{issue_id}/

Example

PUT /api/0/issues/1/ HTTP/1.1
Host: sentry.io
Authorization: Bearer <token>
Content-Type: application/json

{
  "status": "unresolved"
}
HTTP/1.1 200 OK
Content-Length: 738
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

{
  "annotations": [], 
  "assignedTo": null, 
  "count": "1", 
  "culprit": "raven.scripts.runner in main", 
  "firstSeen": "2018-11-06T21:19:55Z", 
  "hasSeen": false, 
  "id": "1", 
  "isBookmarked": false, 
  "isPublic": false, 
  "isSubscribed": true, 
  "lastSeen": "2018-11-06T21:19:55Z", 
  "level": "error", 
  "logger": null, 
  "metadata": {
    "title": "This is an example Python exception"
  }, 
  "numComments": 0, 
  "permalink": "https://sentry.io/the-interstellar-jurisdiction/pump-station/issues/1/", 
  "project": {
    "id": "2", 
    "name": "Pump Station", 
    "slug": "pump-station"
  }, 
  "shareId": null, 
  "shortId": "PUMP-STATION-1", 
  "status": "unresolved", 
  "statusDetails": {}, 
  "subscriptionDetails": null, 
  "title": "This is an example Python exception", 
  "type": "default", 
  "userCount": 0
}