[BUG] Option to log issue in GitHub from Claude Code can fail silently
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When I log feedback with /feedback, and at the end I'm asked to press Enter to log an issue on GitHub, for me it fails silently almost every time. I've only had it work once. Turns out, it's because my default GitHub account is actually a GitHub Enterprise account, and that account is locked down such that it cannot be used to contribute to non-organization-owned repositories. The only time I was able to get the Enter button to properly open a GitHub issue was when I happened to be logged out of my GHE account, and only my regular GitHub account was logged in.
What Should Happen?
Claude Code should detect when users have multiple GitHub accounts connected and ask them to choose which one they want to use to log issues.
AND/OR
Claude Code should handle the error when it fails to log the issue, trying harder to allow the user to get the issue created from their /feedback command.
Error Messages/Logs
This fails silently, so there are no logs.
Steps to Reproduce
- On a machine where you are connected to GitHub using a GHE account that does not have permission to contribute to any repository other than one owned by the corporation, use the /feedback command to log some feedback.
- When prompted to hit Enter to open a GitHub issue, hit the Enter key.
Claude Model
None
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.195 (Claude Code)
Platform
Anthropic API
Operating System
Windows
Terminal/Shell
Windows Terminal
Additional Information
_No response_
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗