{"action":"closed","number":219,"pull_request":{"url":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/219","id":26212143,"html_url":"https://github.com/hipchat/hubot-hipchat/pull/219","diff_url":"https://github.com/hipchat/hubot-hipchat/pull/219.diff","patch_url":"https://github.com/hipchat/hubot-hipchat/pull/219.patch","issue_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/219","number":219,"state":"closed","locked":false,"title":"Retrieve users email address from xmpp data","user":{"login":"danieleva","id":6079455,"avatar_url":"https://avatars.githubusercontent.com/u/6079455?v=3","gravatar_id":"","url":"https://api.github.com/users/danieleva","html_url":"https://github.com/danieleva","followers_url":"https://api.github.com/users/danieleva/followers","following_url":"https://api.github.com/users/danieleva/following{/other_user}","gists_url":"https://api.github.com/users/danieleva/gists{/gist_id}","starred_url":"https://api.github.com/users/danieleva/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danieleva/subscriptions","organizations_url":"https://api.github.com/users/danieleva/orgs","repos_url":"https://api.github.com/users/danieleva/repos","events_url":"https://api.github.com/users/danieleva/events{/privacy}","received_events_url":"https://api.github.com/users/danieleva/received_events","type":"User","site_admin":false},"body":"Can be useful in other scripts.\r\nSince the email address configured in the hipchat account is available in the xmpp response, it's trivial to get it and set the value in the robot brain","created_at":"2014-12-17T09:58:48Z","updated_at":"2015-04-20T14:57:30Z","closed_at":"2015-04-20T14:57:30Z","merged_at":"2015-04-20T14:57:30Z","merge_commit_sha":"2d93791f193d3ff4513ca4c6b7ad83fc72770e7b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/219/commits","review_comments_url":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/219/comments","review_comment_url":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/219/comments","statuses_url":"https://api.github.com/repos/hipchat/hubot-hipchat/statuses/65c185b69efa2cd2f71f4abecff710a2125674a7","head":{"label":"smartandco:set-email-address","ref":"set-email-address","sha":"65c185b69efa2cd2f71f4abecff710a2125674a7","user":{"login":"smartandco","id":8255219,"avatar_url":"https://avatars.githubusercontent.com/u/8255219?v=3","gravatar_id":"","url":"https://api.github.com/users/smartandco","html_url":"https://github.com/smartandco","followers_url":"https://api.github.com/users/smartandco/followers","following_url":"https://api.github.com/users/smartandco/following{/other_user}","gists_url":"https://api.github.com/users/smartandco/gists{/gist_id}","starred_url":"https://api.github.com/users/smartandco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartandco/subscriptions","organizations_url":"https://api.github.com/users/smartandco/orgs","repos_url":"https://api.github.com/users/smartandco/repos","events_url":"https://api.github.com/users/smartandco/events{/privacy}","received_events_url":"https://api.github.com/users/smartandco/received_events","type":"Organization","site_admin":false},"repo":{"id":28129616,"name":"hubot-hipchat","full_name":"smartandco/hubot-hipchat","owner":{"login":"smartandco","id":8255219,"avatar_url":"https://avatars.githubusercontent.com/u/8255219?v=3","gravatar_id":"","url":"https://api.github.com/users/smartandco","html_url":"https://github.com/smartandco","followers_url":"https://api.github.com/users/smartandco/followers","following_url":"https://api.github.com/users/smartandco/following{/other_user}","gists_url":"https://api.github.com/users/smartandco/gists{/gist_id}","starred_url":"https://api.github.com/users/smartandco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smartandco/subscriptions","organizations_url":"https://api.github.com/users/smartandco/orgs","repos_url":"https://api.github.com/users/smartandco/repos","events_url":"https://api.github.com/users/smartandco/events{/privacy}","received_events_url":"https://api.github.com/users/smartandco/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/smartandco/hubot-hipchat","description":"HipChat adapter for GitHub's Hubot","fork":true,"url":"https://api.github.com/repos/smartandco/hubot-hipchat","forks_url":"https://api.github.com/repos/smartandco/hubot-hipchat/forks","keys_url":"https://api.github.com/repos/smartandco/hubot-hipchat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/smartandco/hubot-hipchat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/smartandco/hubot-hipchat/teams","hooks_url":"https://api.github.com/repos/smartandco/hubot-hipchat/hooks","issue_events_url":"https://api.github.com/repos/smartandco/hubot-hipchat/issues/events{/number}","events_url":"https://api.github.com/repos/smartandco/hubot-hipchat/events","assignees_url":"https://api.github.com/repos/smartandco/hubot-hipchat/assignees{/user}","branches_url":"https://api.github.com/repos/smartandco/hubot-hipchat/branches{/branch}","tags_url":"https://api.github.com/repos/smartandco/hubot-hipchat/tags","blobs_url":"https://api.github.com/repos/smartandco/hubot-hipchat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/smartandco/hubot-hipchat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/smartandco/hubot-hipchat/git/refs{/sha}","trees_url":"https://api.github.com/repos/smartandco/hubot-hipchat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/smartandco/hubot-hipchat/statuses/{sha}","languages_url":"https://api.github.com/repos/smartandco/hubot-hipchat/languages","stargazers_url":"https://api.github.com/repos/smartandco/hubot-hipchat/stargazers","contributors_url":"https://api.github.com/repos/smartandco/hubot-hipchat/contributors","subscribers_url":"https://api.github.com/repos/smartandco/hubot-hipchat/subscribers","subscription_url":"https://api.github.com/repos/smartandco/hubot-hipchat/subscription","commits_url":"https://api.github.com/repos/smartandco/hubot-hipchat/commits{/sha}","git_commits_url":"https://api.github.com/repos/smartandco/hubot-hipchat/git/commits{/sha}","comments_url":"https://api.github.com/repos/smartandco/hubot-hipchat/comments{/number}","issue_comment_url":"https://api.github.com/repos/smartandco/hubot-hipchat/issues/comments{/number}","contents_url":"https://api.github.com/repos/smartandco/hubot-hipchat/contents/{+path}","compare_url":"https://api.github.com/repos/smartandco/hubot-hipchat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/smartandco/hubot-hipchat/merges","archive_url":"https://api.github.com/repos/smartandco/hubot-hipchat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/smartandco/hubot-hipchat/downloads","issues_url":"https://api.github.com/repos/smartandco/hubot-hipchat/issues{/number}","pulls_url":"https://api.github.com/repos/smartandco/hubot-hipchat/pulls{/number}","milestones_url":"https://api.github.com/repos/smartandco/hubot-hipchat/milestones{/number}","notifications_url":"https://api.github.com/repos/smartandco/hubot-hipchat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/smartandco/hubot-hipchat/labels{/name}","releases_url":"https://api.github.com/repos/smartandco/hubot-hipchat/releases{/id}","created_at":"2014-12-17T09:06:54Z","updated_at":"2014-12-17T13:38:45Z","pushed_at":"2014-12-17T13:38:43Z","git_url":"git://github.com/smartandco/hubot-hipchat.git","ssh_url":"git@github.com:smartandco/hubot-hipchat.git","clone_url":"https://github.com/smartandco/hubot-hipchat.git","svn_url":"https://github.com/smartandco/hubot-hipchat","homepage":"https://www.hipchat.com/help/page/bots","size":223,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"hipchat:master","ref":"master","sha":"118bdcddc132a99fbb4d1f6cf8472932a6d7121c","user":{"login":"hipchat","id":99777,"avatar_url":"https://avatars.githubusercontent.com/u/99777?v=3","gravatar_id":"","url":"https://api.github.com/users/hipchat","html_url":"https://github.com/hipchat","followers_url":"https://api.github.com/users/hipchat/followers","following_url":"https://api.github.com/users/hipchat/following{/other_user}","gists_url":"https://api.github.com/users/hipchat/gists{/gist_id}","starred_url":"https://api.github.com/users/hipchat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipchat/subscriptions","organizations_url":"https://api.github.com/users/hipchat/orgs","repos_url":"https://api.github.com/users/hipchat/repos","events_url":"https://api.github.com/users/hipchat/events{/privacy}","received_events_url":"https://api.github.com/users/hipchat/received_events","type":"Organization","site_admin":false},"repo":{"id":2752836,"name":"hubot-hipchat","full_name":"hipchat/hubot-hipchat","owner":{"login":"hipchat","id":99777,"avatar_url":"https://avatars.githubusercontent.com/u/99777?v=3","gravatar_id":"","url":"https://api.github.com/users/hipchat","html_url":"https://github.com/hipchat","followers_url":"https://api.github.com/users/hipchat/followers","following_url":"https://api.github.com/users/hipchat/following{/other_user}","gists_url":"https://api.github.com/users/hipchat/gists{/gist_id}","starred_url":"https://api.github.com/users/hipchat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hipchat/subscriptions","organizations_url":"https://api.github.com/users/hipchat/orgs","repos_url":"https://api.github.com/users/hipchat/repos","events_url":"https://api.github.com/users/hipchat/events{/privacy}","received_events_url":"https://api.github.com/users/hipchat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hipchat/hubot-hipchat","description":"HipChat adapter for GitHub's Hubot","fork":false,"url":"https://api.github.com/repos/hipchat/hubot-hipchat","forks_url":"https://api.github.com/repos/hipchat/hubot-hipchat/forks","keys_url":"https://api.github.com/repos/hipchat/hubot-hipchat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hipchat/hubot-hipchat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hipchat/hubot-hipchat/teams","hooks_url":"https://api.github.com/repos/hipchat/hubot-hipchat/hooks","issue_events_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/events{/number}","events_url":"https://api.github.com/repos/hipchat/hubot-hipchat/events","assignees_url":"https://api.github.com/repos/hipchat/hubot-hipchat/assignees{/user}","branches_url":"https://api.github.com/repos/hipchat/hubot-hipchat/branches{/branch}","tags_url":"https://api.github.com/repos/hipchat/hubot-hipchat/tags","blobs_url":"https://api.github.com/repos/hipchat/hubot-hipchat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hipchat/hubot-hipchat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hipchat/hubot-hipchat/git/refs{/sha}","trees_url":"https://api.github.com/repos/hipchat/hubot-hipchat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hipchat/hubot-hipchat/statuses/{sha}","languages_url":"https://api.github.com/repos/hipchat/hubot-hipchat/languages","stargazers_url":"https://api.github.com/repos/hipchat/hubot-hipchat/stargazers","contributors_url":"https://api.github.com/repos/hipchat/hubot-hipchat/contributors","subscribers_url":"https://api.github.com/repos/hipchat/hubot-hipchat/subscribers","subscription_url":"https://api.github.com/repos/hipchat/hubot-hipchat/subscription","commits_url":"https://api.github.com/repos/hipchat/hubot-hipchat/commits{/sha}","git_commits_url":"https://api.github.com/repos/hipchat/hubot-hipchat/git/commits{/sha}","comments_url":"https://api.github.com/repos/hipchat/hubot-hipchat/comments{/number}","issue_comment_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/comments{/number}","contents_url":"https://api.github.com/repos/hipchat/hubot-hipchat/contents/{+path}","compare_url":"https://api.github.com/repos/hipchat/hubot-hipchat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hipchat/hubot-hipchat/merges","archive_url":"https://api.github.com/repos/hipchat/hubot-hipchat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hipchat/hubot-hipchat/downloads","issues_url":"https://api.github.com/repos/hipchat/hubot-hipchat/issues{/number}","pulls_url":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls{/number}","milestones_url":"https://api.github.com/repos/hipchat/hubot-hipchat/milestones{/number}","notifications_url":"https://api.github.com/repos/hipchat/hubot-hipchat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hipchat/hubot-hipchat/labels{/name}","releases_url":"https://api.github.com/repos/hipchat/hubot-hipchat/releases{/id}","created_at":"2011-11-11T00:34:11Z","updated_at":"2015-04-20T14:52:45Z","pushed_at":"2015-04-20T14:57:30Z","git_url":"git://github.com/hipchat/hubot-hipchat.git","ssh_url":"git@github.com:hipchat/hubot-hipchat.git","clone_url":"https://github.com/hipchat/hubot-hipchat.git","svn_url":"https://github.com/hipchat/hubot-hipchat","homepage":"https://www.hipchat.com/help/page/bots","size":677,"stargazers_count":572,"watchers_count":572,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":205,"mirror_url":null,"open_issues_count":43,"forks":205,"open_issues":43,"watchers":572,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/219"},"html":{"href":"https://github.com/hipchat/hubot-hipchat/pull/219"},"issue":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/219"},"comments":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/issues/219/comments"},"review_comments":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/219/comments"},"review_comment":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/pulls/219/commits"},"statuses":{"href":"https://api.github.com/repos/hipchat/hubot-hipchat/statuses/65c185b69efa2cd2f71f4abecff710a2125674a7"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rbergman","id":273778,"avatar_url":"https://avatars.githubusercontent.com/u/273778?v=3","gravatar_id":"","url":"https://api.github.com/users/rbergman","html_url":"https://github.com/rbergman","followers_url":"https://api.github.com/users/rbergman/followers","following_url":"https://api.github.com/users/rbergman/following{/other_user}","gists_url":"https://api.github.com/users/rbergman/gists{/gist_id}","starred_url":"https://api.github.com/users/rbergman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rbergman/subscriptions","organizations_url":"https://api.github.com/users/rbergman/orgs","repos_url":"https://api.github.com/users/rbergman/repos","events_url":"https://api.github.com/users/rbergman/events{/privacy}","received_events_url":"https://api.github.com/users/rbergman/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":2,"deletions":0,"changed_files":1}}