{"action":"created","issue":{"url":"https://api.github.com/repos/education/classroom/issues/1431","repository_url":"https://api.github.com/repos/education/classroom","labels_url":"https://api.github.com/repos/education/classroom/issues/1431/labels{/name}","comments_url":"https://api.github.com/repos/education/classroom/issues/1431/comments","events_url":"https://api.github.com/repos/education/classroom/issues/1431/events","html_url":"https://github.com/education/classroom/issues/1431","id":344260220,"node_id":"MDU6SXNzdWUzNDQyNjAyMjA=","number":1431,"title":"Cannot select a handout repository in new Classroom","user":{"login":"eblanton","id":1410283,"node_id":"MDQ6VXNlcjE0MTAyODM=","avatar_url":"https://avatars2.githubusercontent.com/u/1410283?v=4","gravatar_id":"","url":"https://api.github.com/users/eblanton","html_url":"https://github.com/eblanton","followers_url":"https://api.github.com/users/eblanton/followers","following_url":"https://api.github.com/users/eblanton/following{/other_user}","gists_url":"https://api.github.com/users/eblanton/gists{/gist_id}","starred_url":"https://api.github.com/users/eblanton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eblanton/subscriptions","organizations_url":"https://api.github.com/users/eblanton/orgs","repos_url":"https://api.github.com/users/eblanton/repos","events_url":"https://api.github.com/users/eblanton/events{/privacy}","received_events_url":"https://api.github.com/users/eblanton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2018-07-25T01:38:25Z","updated_at":"2018-08-01T14:52:37Z","closed_at":null,"author_association":"NONE","body":"### Issue\r\n#### What you were trying to do ?\r\nI am trying to create an assignment based on a repository from the organization with which GitHub Classroom is associated.  It is the first assignment in this particular Classroom.  I have used GHC in the past.\r\n\r\n#### What happened (include screenshot if you can) ?\r\nWhen I type in the organization name into the starter code box (so that I can select the base repository), or any substantial portion thereof, it says \"We couldn't find any matching repositories\".  When I type the repository name by itself (without the organization), it lists a bunch of unrelated repositories (which is fair, the repo name is not likely to be very unique).\r\n\r\n#### Step-by-step reproduction instructions\r\n 1. Create organization for a semester of a given class.  I am the owner of the organization.\r\n 2. Create a GitHub Classroom for the organization.\r\n 3. Skip roster.\r\n 4. Fork a repository from another, base organization into the semester organization -- repo is private, forking is permitted.\r\n 5. Click \"Create your first assignment\".\r\n 6. Click \"Create an individual assignment\".\r\n 7. Click in \"Add your starter code from GitHub (optional)\" box.\r\n 8. Type first few letters of organization name, full organization name, or full organization name/repo.  All report that no such repository can be found."},"comment":{"url":"https://api.github.com/repos/education/classroom/issues/comments/409603134","html_url":"https://github.com/education/classroom/issues/1431#issuecomment-409603134","issue_url":"https://api.github.com/repos/education/classroom/issues/1431","id":409603134,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTYwMzEzNA==","user":{"login":"d12","id":30920216,"node_id":"MDQ6VXNlcjMwOTIwMjE2","avatar_url":"https://avatars0.githubusercontent.com/u/30920216?v=4","gravatar_id":"","url":"https://api.github.com/users/d12","html_url":"https://github.com/d12","followers_url":"https://api.github.com/users/d12/followers","following_url":"https://api.github.com/users/d12/following{/other_user}","gists_url":"https://api.github.com/users/d12/gists{/gist_id}","starred_url":"https://api.github.com/users/d12/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d12/subscriptions","organizations_url":"https://api.github.com/users/d12/orgs","repos_url":"https://api.github.com/users/d12/repos","events_url":"https://api.github.com/users/d12/events{/privacy}","received_events_url":"https://api.github.com/users/d12/received_events","type":"User","site_admin":true},"created_at":"2018-08-01T14:52:36Z","updated_at":"2018-08-01T14:52:36Z","author_association":"CONTRIBUTOR","body":"Hey @eblanton , I'm ccing @BenEmdon on this issue to help out with looking into it.\r\n\r\nBased on a quick investigation, it seems like we're having problems returning private forks in the starter code search. If it's possible to use a repo that isn't a private fork, it should work for you. We're going to look into why this is happening soon."}}
{"actor":{"display_login":"d12"}}