Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
If I kick off a cloud agent with the instruction “Work on GitHub Issue #5872” it fails to read it and starts hallucinating.
I see it ran:
gh issue view 5872 --repo MyOrg/Myrepo
But that fails with:
GraphQL: Could not resolve to an issue or pull request with the number of 5872. (repository.issue)
It then tried:
gh issue list --repo MyOrg/Myrepo --limit 20 2>&1 || true
Which fails with
GraphQL: Resource not accessible by integration (repository.issues)
After that it gives up and starts inventing things to work on.
Why isn’t it able to read GitHub? It has access to my repo obviously…
I tried reconnecting my GitHub integration but that didn’t help.
Steps to Reproduce
- Setup a GitHub integration
- Create a GitHub Issue
- Ask Cursor’s cloud agent (via web) to work on that issue, “Work on Github Issue #1”
Expected Behavior
Cursor should load that issue via the GH CLI or API. Parse the contents of the issue title, body and comments – and use that to determine what to work on.
Operating System
MacOS
Version Information
https://cursor.com/agents/bc-474fdd7f-28d5-4fe5-83a3-91dc714e3d1e
For AI issues: which model did you use?
Opus 4.6
Does this stop you from using Cursor
Sometimes - I can sometimes use Cursor