/repos/{owner}/{repo}/issues/{issue_number}/sub_issuesAdd a sub-issue
Adds an existing issue as a sub-issue of the specified parent issue. Supply sub_issue_id in the request body, and set replace_parent to true when the sub-issue should be detached from its current parent before being added. The sub-issue must belong to the same repository owner as the parent issue.
- RetriesRetries up to 2×, 500ms backoff, 30s timeout.
Configuration identifying the issue to add as a sub-issue and whether to replace its current parent.
A 403 is returned when the authenticated user does not have permission to modify the issues. A 404 is returned when the repository, parent issue, or sub-issue cannot be found, and a 410 is returned when the requested resource is no longer available. A 422 is returned when validation fails or the endpoint has been spammed; sub_issue_id is required and replace_parent controls whether an existing parent is replaced.