Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Org repos do not show in UI #127

Closed
nikitavoloboev opened this issue Aug 19, 2023 · 15 comments
Closed

Org repos do not show in UI #127

nikitavoloboev opened this issue Aug 19, 2023 · 15 comments
Labels
question Further information is requested webhooks GitHub and Linear webhook listeners; routing; verification; return objects

Comments

@nikitavoloboev
Copy link

I want to connect it to this repo: https://github.com/learn-anything/learn-anything.xyz

But it's part of organisation. When I try to sync to github repo, it does not show me any organisation repos.

@maige-app maige-app bot added question Further information is requested webhooks GitHub and Linear webhook listeners; routing; verification; return objects labels Aug 19, 2023
@nikitavoloboev
Copy link
Author

Perhaps I have to manually have to add permission for organisation? I could not find it in the UI how to do it.

Would really appreciate getting this resolved as I want to use your tool for organisation level issues. It should work in theory as I assume https://github.com/calcom/cal.com uses it and its an org. or even https://github.com/calcom/synclinear.com

@chrisainerd
Copy link

This is what I want!
Is there anybody to resolve it?

@nikitavoloboev
Copy link
Author

Most likely it's not supported yet. Have to fork of and try add it ourselves it seems.

@tedspare
Copy link
Collaborator

tedspare commented Aug 30, 2023

Hey @nikitavoloboev @chrisainerd, sorry for the late reply.

As you noted, there are orgs using the tool so the issue is upstream somewhere preventing GH from listing that org's repos to you. If you're an admin of the org, do these steps work? Profile photo > Your organizations > > Third-party Access > OAuth Application policy > SyncLinear (if it shows) > Edit > Grant Access

Otherwise, what about org settings > Member privileges > Integration access requests?

Please let me know if neither of these works!

@tedspare tedspare changed the title How to connect to repo from an organisation (not personal repo) Org repos do not show in UI Aug 30, 2023
@tedspare
Copy link
Collaborator

tedspare commented Sep 5, 2023

@nikitavoloboev have you had a chance to revisit this?

@nikitavoloboev
Copy link
Author

@tedspare

Yes I still can't connect my org repo :(

Here is video of me trying:

synclinear.mp4

Let me know how I can resolve it, would really appreciate it. ♥️

@tedspare
Copy link
Collaborator

tedspare commented Sep 7, 2023

Thanks for sharing @nikitavoloboev! Were you able to follow the org settings steps I shared here?

@nikitavoloboev
Copy link
Author

Profile photo > Your organizations > > Third-party Access > OAuth Application policy > SyncLinear (if it shows) > Edit > Grant Access

tried doing this, saw this:

image

@tedspare

not sure what i should try now

@nikitavoloboev
Copy link
Author

org settings > Member privileges > Integration access requests

I have this set there

image

@tedspare
Copy link
Collaborator

tedspare commented Sep 8, 2023

Thanks for trying that, @nikitavoloboev. In the GitHub Explorer, do you see those Learn-Anything repos if you run this query?

query { 
  viewer { 
    repositories(first: 100) {
      totalCount
      nodes {
        nameWithOwner
      }
    }
  }
}

@nikitavoloboev
Copy link
Author

Just tried it and I don't see the repos there.

@nikitavoloboev
Copy link
Author

Is there anything I can do to add the org to the scope?

@nikitavoloboev
Copy link
Author

@tedspare anything I can try to make it work? 🙏

@tedspare
Copy link
Collaborator

Woops, thanks for the follow-up @nikitavoloboev. Seeing that the org repos don't show in GH Explorer tells me there's an org setting preventing a member (or, at least, your) account from accessing repos.

Two more ideas:

  • In Org > People > [your account] > Role, do you see "Owner"?
  • In personal Settings > Applications > Authorized OAuth Apps > SyncLinear.com, can you grant access?
image

image

@nikitavoloboev
Copy link
Author

In personal Settings > Applications > Authorized OAuth Apps > SyncLinear.com, can you grant access?

This was the missing piece.

CleanShot 2023-09-13 at 07 28 51@2x

Had to tick an org here. Now it works. 🎊

Thanks a lot. And thanks for building this great tool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested webhooks GitHub and Linear webhook listeners; routing; verification; return objects
Projects
None yet
Development

No branches or pull requests

3 participants