{"action":"created","issue":{"url":"https://api.github.com/repos/ingydotnet/git-hub/issues/159","labels_url":"https://api.github.com/repos/ingydotnet/git-hub/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/ingydotnet/git-hub/issues/159/comments","events_url":"https://api.github.com/repos/ingydotnet/git-hub/issues/159/events","html_url":"https://github.com/ingydotnet/git-hub/issues/159","id":61735510,"number":159,"title":"pr-list should use the current repos's owner by default","user":{"login":"agentzh","id":56241,"avatar_url":"https://avatars.githubusercontent.com/u/56241?v=3","gravatar_id":"","url":"https://api.github.com/users/agentzh","html_url":"https://github.com/agentzh","followers_url":"https://api.github.com/users/agentzh/followers","following_url":"https://api.github.com/users/agentzh/following{/other_user}","gists_url":"https://api.github.com/users/agentzh/gists{/gist_id}","starred_url":"https://api.github.com/users/agentzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentzh/subscriptions","organizations_url":"https://api.github.com/users/agentzh/orgs","repos_url":"https://api.github.com/users/agentzh/repos","events_url":"https://api.github.com/users/agentzh/events{/privacy}","received_events_url":"https://api.github.com/users/agentzh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-03-15T02:59:23Z","updated_at":"2015-03-15T03:52:45Z","closed_at":"2015-03-15T03:52:45Z","body":"My `opsboy` repository is in the organization account `openresty` while my own account is `agentzh`. So while in the opsboy checkout, `pr-list` tries to fetch PRs for the non-existent `agentzh/opsboy` location instead of the correct one, `openresty/opsboy`. Hopefully `pr-list` can always use the current clone location by default :) It took me a while to figure out why I cannot see your latest PR for opsboy ;)\r\n\r\n```\r\nagentzh@imac ~/git/opsboy (pegex)$ git hub pr-list\r\nPull requests for 'agentzh/opsboy' (state=open):\r\n\r\nagentzh@imac ~/git/opsboy (pegex)$ git hub pr-list openresty/opsboy\r\nPull requests for 'openresty/opsboy' (state=open):\r\n#1   (open)   Pegex\r\n     @ingydotnet   Created: 2015-03-14  Updated: 2015-03-14\r\n     ingydotnet:pegex → openresty:pegex\r\n```"},"comment":{"url":"https://api.github.com/repos/ingydotnet/git-hub/issues/comments/80825824","html_url":"https://github.com/ingydotnet/git-hub/issues/159#issuecomment-80825824","issue_url":"https://api.github.com/repos/ingydotnet/git-hub/issues/159","id":80825824,"user":{"login":"agentzh","id":56241,"avatar_url":"https://avatars.githubusercontent.com/u/56241?v=3","gravatar_id":"","url":"https://api.github.com/users/agentzh","html_url":"https://github.com/agentzh","followers_url":"https://api.github.com/users/agentzh/followers","following_url":"https://api.github.com/users/agentzh/following{/other_user}","gists_url":"https://api.github.com/users/agentzh/gists{/gist_id}","starred_url":"https://api.github.com/users/agentzh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/agentzh/subscriptions","organizations_url":"https://api.github.com/users/agentzh/orgs","repos_url":"https://api.github.com/users/agentzh/repos","events_url":"https://api.github.com/users/agentzh/events{/privacy}","received_events_url":"https://api.github.com/users/agentzh/received_events","type":"User","site_admin":false},"created_at":"2015-03-15T03:52:45Z","updated_at":"2015-03-15T03:52:45Z","body":"@ingydotnet Okay, my bad. The repos was originally cloned by `agentzh/opsboy`. It works because of github's automatic redirection feature (opsboy was moved from `agentzh` to `openresty`). Sorry for the noise!"}}