cli/pkg/cmd/issue/create
Kynan Ware 44e9f4bd50 feat: add --type, --parent, --blocked-by, --blocking to issue create
Post-creation mutations for Issues 2.0 fields:
- --type: resolve type name to ID via RepoIssueTypes, then
  updateIssueIssueType mutation
- --parent: resolve issue ref (number or URL), then addSubIssue
  mutation (supports cross-repo URLs)
- --blocked-by: resolve refs, then addBlockedBy mutations
- --blocking: resolve refs, then addBlockedBy with swapped args

Interactive mode: type picker when repo has issue types configured.

GHES: relationships gated behind IssueRelationshipsSupported feature
detection (3.19+). Types and sub-issues need no detection (GA 3.17+).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-30 08:49:43 -06:00
..
fixtures/repoWithNonLegacyIssueTemplates/.github/ISSUE_TEMPLATE Interactive template selection test for PR create 2020-09-02 09:56:28 +05:30
create.go feat: add --type, --parent, --blocked-by, --blocking to issue create 2026-04-30 08:49:43 -06:00
create_test.go Merge pull request #13025 from cli/kw/refactor/reviewer-assignee-actor-symmetry 2026-03-25 11:43:18 -06:00