/repos/{owner}/{repo}/issues/{issue_number}Update an issue
Updates an existing issue or pull request in a repository. Supply only the fields you want to change, including title, body, state, labels, assignees, milestones, or issue field values. Changes to labels, assignees, milestones, and issue types may be silently dropped without push access.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Fields to update on an issue or pull request; omit fields that should retain their current values.
A 403 is returned when the authenticated user lacks permission to edit the issue, and a 404 is returned when the repository or issue cannot be found. A 410 is returned when the issue is gone, while a 422 indicates validation failure or excessive activity; a 503 indicates service unavailability. state must be open or closed, and state_reason must be completed, not_planned, duplicate, or reopened.