{"action":"created","comment":{"url":"https://api.github.com/repos/github/hub/pulls/comments/27684737","id":27684737,"diff_hunk":"@@ -428,6 +428,28 @@ func (client *Client) CreateIssue(project *Project, title, body string, labels [\n \treturn\n }\n \n+func (client *Client) UpdateIssue(project *Project, number int, assignee string) (err error) {","path":"github/client.go","position":4,"original_position":4,"commit_id":"cdc37ec99eaca5cab78c325ab986bd888c058c24","original_commit_id":"cdc37ec99eaca5cab78c325ab986bd888c058c24","user":{"login":"mislav","id":887,"avatar_url":"https://avatars.githubusercontent.com/u/887?v=3","gravatar_id":"","url":"https://api.github.com/users/mislav","html_url":"https://github.com/mislav","followers_url":"https://api.github.com/users/mislav/followers","following_url":"https://api.github.com/users/mislav/following{/other_user}","gists_url":"https://api.github.com/users/mislav/gists{/gist_id}","starred_url":"https://api.github.com/users/mislav/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mislav/subscriptions","organizations_url":"https://api.github.com/users/mislav/orgs","repos_url":"https://api.github.com/users/mislav/repos","events_url":"https://api.github.com/users/mislav/events{/privacy}","received_events_url":"https://api.github.com/users/mislav/received_events","type":"User","site_admin":true},"body":"The `number` variable could be named a little less ambiguously, i.e. `issueNumber`","created_at":"2015-04-02T18:38:14Z","updated_at":"2015-04-02T18:38:14Z","html_url":"https://github.com/github/hub/pull/857#discussion_r27684737","pull_request_url":"https://api.github.com/repos/github/hub/pulls/857","_links":{"self":{"href":"https://api.github.com/repos/github/hub/pulls/comments/27684737"},"html":{"href":"https://github.com/github/hub/pull/857#discussion_r27684737"},"pull_request":{"href":"https://api.github.com/repos/github/hub/pulls/857"}}},"pull_request":{"url":"https://api.github.com/repos/github/hub/pulls/857","id":32517288,"html_url":"https://github.com/github/hub/pull/857","diff_url":"https://github.com/github/hub/pull/857.diff","patch_url":"https://github.com/github/hub/pull/857.patch","issue_url":"https://api.github.com/repos/github/hub/issues/857","number":857,"state":"open","locked":false,"title":"Allow assigning a new PR to a user, closes #371","user":{"login":"mmikulicic","id":52673,"avatar_url":"https://avatars.githubusercontent.com/u/52673?v=3","gravatar_id":"","url":"https://api.github.com/users/mmikulicic","html_url":"https://github.com/mmikulicic","followers_url":"https://api.github.com/users/mmikulicic/followers","following_url":"https://api.github.com/users/mmikulicic/following{/other_user}","gists_url":"https://api.github.com/users/mmikulicic/gists{/gist_id}","starred_url":"https://api.github.com/users/mmikulicic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmikulicic/subscriptions","organizations_url":"https://api.github.com/users/mmikulicic/orgs","repos_url":"https://api.github.com/users/mmikulicic/repos","events_url":"https://api.github.com/users/mmikulicic/events{/privacy}","received_events_url":"https://api.github.com/users/mmikulicic/received_events","type":"User","site_admin":false},"body":"Sorry too lazy to figure out how to make a unit test for this :-(\r\n","created_at":"2015-04-02T14:40:24Z","updated_at":"2015-04-02T18:38:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"84a621b4e1096a95e3436b36808bf07f3cba6b71","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/github/hub/pulls/857/commits","review_comments_url":"https://api.github.com/repos/github/hub/pulls/857/comments","review_comment_url":"https://api.github.com/repos/github/hub/pulls/comments{/number}","comments_url":"https://api.github.com/repos/github/hub/issues/857/comments","statuses_url":"https://api.github.com/repos/github/hub/statuses/cdc37ec99eaca5cab78c325ab986bd888c058c24","head":{"label":"cesanta:pull_assign","ref":"pull_assign","sha":"cdc37ec99eaca5cab78c325ab986bd888c058c24","user":{"login":"cesanta","id":5111322,"avatar_url":"https://avatars.githubusercontent.com/u/5111322?v=3","gravatar_id":"","url":"https://api.github.com/users/cesanta","html_url":"https://github.com/cesanta","followers_url":"https://api.github.com/users/cesanta/followers","following_url":"https://api.github.com/users/cesanta/following{/other_user}","gists_url":"https://api.github.com/users/cesanta/gists{/gist_id}","starred_url":"https://api.github.com/users/cesanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesanta/subscriptions","organizations_url":"https://api.github.com/users/cesanta/orgs","repos_url":"https://api.github.com/users/cesanta/repos","events_url":"https://api.github.com/users/cesanta/events{/privacy}","received_events_url":"https://api.github.com/users/cesanta/received_events","type":"Organization","site_admin":false},"repo":{"id":33311468,"name":"hub","full_name":"cesanta/hub","owner":{"login":"cesanta","id":5111322,"avatar_url":"https://avatars.githubusercontent.com/u/5111322?v=3","gravatar_id":"","url":"https://api.github.com/users/cesanta","html_url":"https://github.com/cesanta","followers_url":"https://api.github.com/users/cesanta/followers","following_url":"https://api.github.com/users/cesanta/following{/other_user}","gists_url":"https://api.github.com/users/cesanta/gists{/gist_id}","starred_url":"https://api.github.com/users/cesanta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cesanta/subscriptions","organizations_url":"https://api.github.com/users/cesanta/orgs","repos_url":"https://api.github.com/users/cesanta/repos","events_url":"https://api.github.com/users/cesanta/events{/privacy}","received_events_url":"https://api.github.com/users/cesanta/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cesanta/hub","description":"hub helps you win at git.","fork":true,"url":"https://api.github.com/repos/cesanta/hub","forks_url":"https://api.github.com/repos/cesanta/hub/forks","keys_url":"https://api.github.com/repos/cesanta/hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cesanta/hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cesanta/hub/teams","hooks_url":"https://api.github.com/repos/cesanta/hub/hooks","issue_events_url":"https://api.github.com/repos/cesanta/hub/issues/events{/number}","events_url":"https://api.github.com/repos/cesanta/hub/events","assignees_url":"https://api.github.com/repos/cesanta/hub/assignees{/user}","branches_url":"https://api.github.com/repos/cesanta/hub/branches{/branch}","tags_url":"https://api.github.com/repos/cesanta/hub/tags","blobs_url":"https://api.github.com/repos/cesanta/hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cesanta/hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cesanta/hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/cesanta/hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cesanta/hub/statuses/{sha}","languages_url":"https://api.github.com/repos/cesanta/hub/languages","stargazers_url":"https://api.github.com/repos/cesanta/hub/stargazers","contributors_url":"https://api.github.com/repos/cesanta/hub/contributors","subscribers_url":"https://api.github.com/repos/cesanta/hub/subscribers","subscription_url":"https://api.github.com/repos/cesanta/hub/subscription","commits_url":"https://api.github.com/repos/cesanta/hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/cesanta/hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/cesanta/hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/cesanta/hub/issues/comments{/number}","contents_url":"https://api.github.com/repos/cesanta/hub/contents/{+path}","compare_url":"https://api.github.com/repos/cesanta/hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cesanta/hub/merges","archive_url":"https://api.github.com/repos/cesanta/hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cesanta/hub/downloads","issues_url":"https://api.github.com/repos/cesanta/hub/issues{/number}","pulls_url":"https://api.github.com/repos/cesanta/hub/pulls{/number}","milestones_url":"https://api.github.com/repos/cesanta/hub/milestones{/number}","notifications_url":"https://api.github.com/repos/cesanta/hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cesanta/hub/labels{/name}","releases_url":"https://api.github.com/repos/cesanta/hub/releases{/id}","created_at":"2015-04-02T13:52:17Z","updated_at":"2015-04-02T13:52:18Z","pushed_at":"2015-04-02T13:54:12Z","git_url":"git://github.com/cesanta/hub.git","ssh_url":"git@github.com:cesanta/hub.git","clone_url":"https://github.com/cesanta/hub.git","svn_url":"https://github.com/cesanta/hub","homepage":"http://hub.github.com/","size":3454,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"github:master","ref":"master","sha":"4cc48e1ccdc0d873e68aa8242c281adf0726e647","user":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"repo":{"id":401025,"name":"hub","full_name":"github/hub","owner":{"login":"github","id":9919,"avatar_url":"https://avatars.githubusercontent.com/u/9919?v=3","gravatar_id":"","url":"https://api.github.com/users/github","html_url":"https://github.com/github","followers_url":"https://api.github.com/users/github/followers","following_url":"https://api.github.com/users/github/following{/other_user}","gists_url":"https://api.github.com/users/github/gists{/gist_id}","starred_url":"https://api.github.com/users/github/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/github/subscriptions","organizations_url":"https://api.github.com/users/github/orgs","repos_url":"https://api.github.com/users/github/repos","events_url":"https://api.github.com/users/github/events{/privacy}","received_events_url":"https://api.github.com/users/github/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/github/hub","description":"hub helps you win at git.","fork":false,"url":"https://api.github.com/repos/github/hub","forks_url":"https://api.github.com/repos/github/hub/forks","keys_url":"https://api.github.com/repos/github/hub/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/hub/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/hub/teams","hooks_url":"https://api.github.com/repos/github/hub/hooks","issue_events_url":"https://api.github.com/repos/github/hub/issues/events{/number}","events_url":"https://api.github.com/repos/github/hub/events","assignees_url":"https://api.github.com/repos/github/hub/assignees{/user}","branches_url":"https://api.github.com/repos/github/hub/branches{/branch}","tags_url":"https://api.github.com/repos/github/hub/tags","blobs_url":"https://api.github.com/repos/github/hub/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/hub/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/hub/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/hub/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/hub/statuses/{sha}","languages_url":"https://api.github.com/repos/github/hub/languages","stargazers_url":"https://api.github.com/repos/github/hub/stargazers","contributors_url":"https://api.github.com/repos/github/hub/contributors","subscribers_url":"https://api.github.com/repos/github/hub/subscribers","subscription_url":"https://api.github.com/repos/github/hub/subscription","commits_url":"https://api.github.com/repos/github/hub/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/hub/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/hub/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/hub/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/hub/contents/{+path}","compare_url":"https://api.github.com/repos/github/hub/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/hub/merges","archive_url":"https://api.github.com/repos/github/hub/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/hub/downloads","issues_url":"https://api.github.com/repos/github/hub/issues{/number}","pulls_url":"https://api.github.com/repos/github/hub/pulls{/number}","milestones_url":"https://api.github.com/repos/github/hub/milestones{/number}","notifications_url":"https://api.github.com/repos/github/hub/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/hub/labels{/name}","releases_url":"https://api.github.com/repos/github/hub/releases{/id}","created_at":"2009-12-05T22:15:25Z","updated_at":"2015-04-02T18:31:36Z","pushed_at":"2015-04-02T14:40:25Z","git_url":"git://github.com/github/hub.git","ssh_url":"git@github.com:github/hub.git","clone_url":"https://github.com/github/hub.git","svn_url":"https://github.com/github/hub","homepage":"http://hub.github.com/","size":7944,"stargazers_count":6076,"watchers_count":6076,"language":"Go","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":544,"mirror_url":null,"open_issues_count":101,"forks":544,"open_issues":101,"watchers":6076,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/github/hub/pulls/857"},"html":{"href":"https://github.com/github/hub/pull/857"},"issue":{"href":"https://api.github.com/repos/github/hub/issues/857"},"comments":{"href":"https://api.github.com/repos/github/hub/issues/857/comments"},"review_comments":{"href":"https://api.github.com/repos/github/hub/pulls/857/comments"},"review_comment":{"href":"https://api.github.com/repos/github/hub/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/github/hub/pulls/857/commits"},"statuses":{"href":"https://api.github.com/repos/github/hub/statuses/cdc37ec99eaca5cab78c325ab986bd888c058c24"}}}}