I'm just moving my repos into organization and found this problem - adding subscription of private repo inside organization makes error unknown repositiory.
Making new repo causes same issue.
Github todo list also works wrong. Article from normal private repo is displaying fine but private repo inside org is not.
I got 6 assignments but github plugin shows only 5, excluding issues from private repo inside organization.


Did you connect your GitHub using /github connect private? If not, could you please try re-connecting your account using that command?
@hanzei Yes, I used private option. Private repo without organization works fine.
Reconnecting does not helped. I tried from another PC without login cache but no luck.
My GitHub plugin version is 1.0.0(recently updated with update button on plugin list), and Mattermost version is 5.23.0.
Does your OAuth Application has access to your organization? You can find that information in your GitHub Setting under Applications -> Authorized OAuth Apps

@hanzei Yeah that was the problem. Organization access was restricted by default.


Granting access(or request access & approve) solved the problem. It must be done once except the organization itself makes the application.
Problem solved. Thanks for your help!
Glad your issue got solved :+1: