{"action":"created","issue":{"url":"https://api.github.com/repos/edavis10/redmine/issues/39","labels_url":"https://api.github.com/repos/edavis10/redmine/issues/39/labels{/name}","comments_url":"https://api.github.com/repos/edavis10/redmine/issues/39/comments","events_url":"https://api.github.com/repos/edavis10/redmine/issues/39/events","html_url":"https://github.com/edavis10/redmine/pull/39","id":1371589,"number":39,"title":"Autofetch once on adding repo (if global autofetch is off). ","user":{"login":"grossws","id":171284,"avatar_url":"https://avatars.githubusercontent.com/u/171284?v=3","gravatar_id":"","url":"https://api.github.com/users/grossws","html_url":"https://github.com/grossws","followers_url":"https://api.github.com/users/grossws/followers","following_url":"https://api.github.com/users/grossws/following{/other_user}","gists_url":"https://api.github.com/users/grossws/gists{/gist_id}","starred_url":"https://api.github.com/users/grossws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grossws/subscriptions","organizations_url":"https://api.github.com/users/grossws/orgs","repos_url":"https://api.github.com/users/grossws/repos","events_url":"https://api.github.com/users/grossws/events{/privacy}","received_events_url":"https://api.github.com/users/grossws/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2011-08-09T10:59:38Z","updated_at":"2015-09-30T22:31:07Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/edavis10/redmine/pulls/39","html_url":"https://github.com/edavis10/redmine/pull/39","diff_url":"https://github.com/edavis10/redmine/pull/39.diff","patch_url":"https://github.com/edavis10/redmine/pull/39.patch"},"body":"If global autofetch is off for repositories, adding a repo will not fetch until external command invoked. In my case, until push to that repo (I use post-recieve hook in git). So I want to autofetch after adding repo to have actual repository state in redmine."},"comment":{"url":"https://api.github.com/repos/edavis10/redmine/issues/comments/144564010","html_url":"https://github.com/edavis10/redmine/pull/39#issuecomment-144564010","issue_url":"https://api.github.com/repos/edavis10/redmine/issues/39","id":144564010,"user":{"login":"grossws","id":171284,"avatar_url":"https://avatars.githubusercontent.com/u/171284?v=3","gravatar_id":"","url":"https://api.github.com/users/grossws","html_url":"https://github.com/grossws","followers_url":"https://api.github.com/users/grossws/followers","following_url":"https://api.github.com/users/grossws/following{/other_user}","gists_url":"https://api.github.com/users/grossws/gists{/gist_id}","starred_url":"https://api.github.com/users/grossws/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grossws/subscriptions","organizations_url":"https://api.github.com/users/grossws/orgs","repos_url":"https://api.github.com/users/grossws/repos","events_url":"https://api.github.com/users/grossws/events{/privacy}","received_events_url":"https://api.github.com/users/grossws/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T22:31:07Z","updated_at":"2015-09-30T22:31:07Z","body":"Close stale PR"}}