POST
github_issues_add_sub_issue.py
from charter.packs import github
result = await github.issues_add_sub_issue.ainvoke({"owner": ..., "repo": ..., "issueNumber": ..., "subIssueId": ...})
Requires
repo, read:user.Path parameters
| Field | Type | Description |
|---|---|---|
owner * | string | The account owner of the repository. The name is not case sensitive. |
repo * | string | The name of the repository without the .git extension. The name is not case sensitive. |
issueNumber * | integer | The number that identifies the issue. |
Body
| Field | Type | Description |
|---|---|---|
subIssueId * | integer | The id of the sub-issue to add — its id field, not the #number shown in GitHub’s interface. The sub-issue must belong to the same repository owner as the parent issue. |
replaceParent | boolean | When true, moves the sub-issue here from whatever parent it has now. Absent, an issue that already has a parent is refused. |