Update bug report status

PATCH https://app.speybooks.com/api/v1/admin/bug-reports/{id}

Update the status and/or admin notes of a bug report.

Request Body

  • status — optional, one of: open, acknowledged, investigating, resolved, wont_fix, duplicate
  • adminNotes — optional, up to 5000 characters

State Transitions

When status changes to a terminal state (resolved, wont_fix, duplicate):

  • resolved_at is set to NOW()
  • An email notification is sent to the reporter with the status text and bug ID

When a terminal report is reopened (status changed away from terminal):

  • resolved_at is cleared to NULL

Email Notification

Sent on terminal transitions only, to the reporter's email. Includes the bug title, public ID, and human-readable status. Email failures are logged but do not fail the request.

Returns 404 if the public_id does not match any report. Returns { message: "No changes" } if no fields are provided.

Path parameters

id string required

Response

200 Bug report updated. Email sent to reporter if status changed to a closed state.
Show response fields
id string
message string

Error codes

404 Bug report not found.