Describe the bug
gh issue create shows an error message with "does not have the correct
permissions to execute UpdateIssueIssueType" - even though the issue was
created successfully. Occurs only when you dont have the right permissions on
the repo.
Affected version
gh version 2.96.0 (2026-07-02)
Steps to reproduce the behavior
- gh issue create --repo on a repo where you cant set the type
- See the error
Expected vs actual behavior
Expected: Issue created, no error message.
Actual: Issue created, then X operation failed... GraphQL: does not
have the correct permissions to execute UpdateIssueIssueType.
Logs
gh issue create --repo cli/cli
Creating issue in cli/cli
? Title (required) `gh issue create` errors after successful creation when issue type can't be set
? Choose a template 🐛 Bug report
? Body <Received>
? Issue type Bug
? What's next? Submit
X operation failed. To restore: gh issue create --recover /var/folders/n6/x5dgkb0j4mncg9_0l47pyzr80000gn/T/gh2543392225.json
GraphQL: LangLangBart does not have the correct permissions to execute `UpdateIssueIssueType` (updateIssueIssueType)
Describe the bug
gh issue createshows an error message with "does not have the correctpermissions to execute
UpdateIssueIssueType" - even though the issue wascreated successfully. Occurs only when you dont have the right permissions on
the repo.
Affected version
Steps to reproduce the behavior
Expected vs actual behavior
Expected: Issue created, no error message.
Actual: Issue created, then X operation failed... GraphQL: does not
have the correct permissions to execute UpdateIssueIssueType.
Logs