Skip to content

Overwrite existing parent on gh issue edit --add-sub-issue#13413

Open
BagToad wants to merge 1 commit into
kw/issues-2.0-rename-allowedfrom
kw/issues-2.0-overwrite-parent-on-add-sub-issue
Open

Overwrite existing parent on gh issue edit --add-sub-issue#13413
BagToad wants to merge 1 commit into
kw/issues-2.0-rename-allowedfrom
kw/issues-2.0-overwrite-parent-on-add-sub-issue

Conversation

@BagToad
Copy link
Copy Markdown
Member

@BagToad BagToad commented May 13, 2026

Fix the Sub issue may only have one parent 422 that surfaces when --add-sub-issue is handed a candidate that already belongs to another parent. Pass replaceParent: true so the take-over is silent.

Stacked on top of #13412 (which is on top of #13411).

A sub-issue can have only one parent, so when --add-sub-issue is given
a candidate that already belongs to another parent the addSubIssue
mutation 422s with "Sub issue may only have one parent". Pass
replaceParent: true on this path so the take-over is silent.
@BagToad BagToad requested a review from a team as a code owner May 13, 2026 03:36
@BagToad BagToad requested review from babakks and removed request for a team May 13, 2026 03:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants