I was trying to connect a repository to the new background agents feature and no matter what I did, the connection would always fail. However, I noticed that the repository was listed under my personal account, which is wrong since this repository exists under an organization. Here’s how it looks:
Has anyone faced/solved this issue before? I have tried connecting other repositories that are personal and had no issues, so it leads me to believe that there might be an issue with organization repositories.
I’m having a similar issue though mine at least uses the organisation name as the account. All permissions look correct - user can access the repos, organisation has granted access to cursor but I’m getting:
“No repos with user access found”.
How did you manage to get the organization name as the account? Did you do a different step when connecting to GitHub? I used my personal account but granted access to the organization repositories but still nothing
Solved mine. Not sure what you mean but the process I went through was.
Try to authenticate to github
Realise you have to use the same email as cursor account
Authenticate with cursor email
Add cursor email to organisation
Realise that you also need write access on member emails
Not sure I did anything special - is your .git all set up correctly.
I’m also having this issue, whether I log in to cursor with an email that is the same in my github organization or not. @patrickmenendez29 did you manage to sort yours?
Yes I did! It turns out that background agents won’t work with repositories that have switched owners (i.e., you had a repository in your personal GitHub account and then you transferred it to an organization). Here’s what I did to get it to work:
push all changes to GH
remove the repository from my machine
clone it (now from the organization)
try connecting it again
Just make sure that you are also giving cursor permissions to your organization and you should be fine! Hope it helps