references/sync.md line 68 has a dead comment that never runs:
# gh sub-issue create --parent $epic_number ...
Two problems:
- This is just a comment — when
use_subissues=true, nothing actually links tasks to the epic
gh sub-issue create doesn't support --body-file or --json, so it can't replace the existing gh issue create call
Fix: create with gh issue create (keeps --body-file/--json), then link with gh sub-issue add:
if [ "$use_subissues" = true ]; then
gh sub-issue add "$epic_number" "$task_number" --repo "$REPO"
fi
references/sync.mdline 68 has a dead comment that never runs:# gh sub-issue create --parent $epic_number ...Two problems:
use_subissues=true, nothing actually links tasks to the epicgh sub-issue createdoesn't support--body-fileor--json, so it can't replace the existinggh issue createcallFix: create with
gh issue create(keeps--body-file/--json), then link withgh sub-issue add: