GitHub PullRequestEvent at 2014-09-04 14:33:42
Repository: hubot
Actor: scottknight
Payload: {"action":"opened","number":2,"pull_request":{"url":"https://api.github.com/repos/mobiledefense/hubot/pulls/2","id":20747373,"html_url":"https://github.com/mobiledefense/hubot/pull/2","diff_url":"https://github.com/mobiledefense/hubot/pull/2.diff","patch_url":"https://github.com/mobiledefense/hubot/pull/2.patch","issue_url":"https://api.github.com/repos/mobiledefense/hubot/issues/2","number":2,"state":"open","locked":false,"title":"Send YouTrack notifications to a specific room.","user":{"login":"scottknight","id":5066717,"avatar_url":"https://avatars.githubusercontent.com/u/5066717?v=2","gravatar_id":"aa25f0eca3658b465cec801e7ba1a151","url":"https://api.github.com/users/scottknight","html_url":"https://github.com/scottknight","followers_url":"https://api.github.com/users/scottknight/followers","following_url":"https://api.github.com/users/scottknight/following{/other_user}","gists_url":"https://api.github.com/users/scottknight/gists{/gist_id}","starred_url":"https://api.github.com/users/scottknight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottknight/subscriptions","organizations_url":"https://api.github.com/users/scottknight/orgs","repos_url":"https://api.github.com/users/scottknight/repos","events_url":"https://api.github.com/users/scottknight/events{/privacy}","received_events_url":"https://api.github.com/users/scottknight/received_events","type":"User","site_admin":false},"body":"Hubot has a YouTrack account and a Hipchat account. Youtrack itself\r\ncan send notifications to users. The Hubot user in YouTrack has been set\r\nup to receive notifications. Anytime something changes in YouTrack the\r\nYouTrack bot will message Hubot. Hubot will take any message from\r\nthe YouTrack bot and dump it into a specific room. This should let us\r\nadd additional tools that can monitor the list of events happening and\r\ntake specific actions.\r\n\r\nWe specifically use the HipChat v1 api in here so that messages aren't posted\r\nas a specific user. With the v1 api you can specify a specific name to post the\r\nmessages from.\r\n\r\nRelates to [c-2432](http://youtrack.mobiledefense.com/issue/c-2432)","created_at":"2014-09-04T14:33:42Z","updated_at":"2014-09-04T14:33:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mobiledefense/hubot/pulls/2/commits","review_comments_url":"https://api.github.com/repos/mobiledefense/hubot/pulls/2/comments","review_comment_url":"https://api.github.com/repos/mobiledefense/hubot/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mobiledefense/hubot/issues/2/comments","statuses_url":"https://api.github.com/repos/mobiledefense/hubot/statuses/b8d458b211f991fef43ed8f32a4d6d5a2a209133","head":{"label":"mobiledefense:tasks/c-2432-youtrack-hipchat-integration","ref":"tasks/c-2432-youtrack-hipchat-integration","sha":"b8d458b211f991fef43ed8f32a4d6d5a2a209133","user":{"login":"mobiledefense","id":1266019,"avatar_url":"https://avatars.githubusercontent.com/u/1266019?v=2","gravatar_id":"a409a5396137447d7e62b68872a19402","url":"https://api.github.com/users/mobiledefense","html_url":"https://github.com/mobiledefense","followers_url":"https://api.github.com/users/mobiledefense/followers","following_url":"https://api.github.com/users/mobiledefense/following{/other_user}","gists_url":"https://api.github.com/users/mobiledefense/gists{/gist_id}","starred_url":"https://api.github.com/users/mobiledefense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobiledefense/subscriptions","organizations_url":"https://api.github.com/users/mobiledefense/orgs","repos_url":"https://api.github.com/users/mobiledefense/repos","events_url":"https://api.github.com/users/mobiledefense/events{/privacy}","received_events_url":"https://api.github.com/users/mobiledefense/received_events","type":"Organization","site_admin":false},"repo":{"id":18112767,"name":"hubot","full_name":"mobiledefense/hubot","owner":{"login":"mobiledefense","id":1266019,"avatar_url":"https://avatars.githubusercontent.com/u/1266019?v=2","gravatar_id":"a409a5396137447d7e62b68872a19402","url":"https://api.github.com/users/mobiledefense","html_url":"https://github.com/mobiledefense","followers_url":"https://api.github.com/users/mobiledefense/followers","following_url":"https://api.github.com/users/mobiledefense/following{/other_user}","gists_url":"https://api.github.com/users/mobiledefense/gists{/gist_id}","starred_url":"https://api.github.com/users/mobiledefense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobiledefense/subscriptions","organizations_url":"https://api.github.com/users/mobiledefense/orgs","repos_url":"https://api.github.com/users/mobiledefense/repos","events_url":"https://api.github.com/users/mobiledefense/events{/privacy}","received_events_url":"https://api.github.com/users/mobiledefense/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mobiledefense/hubot","description":"","fork":false,"url":"https://api.github.com/repos/mobiledefense/hubot","forks_url":"https://api.github.com/repos/mobiledefense/hubot/forks","keys_url":"https://api.github.com/repos/mobiledefense/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mobiledefense/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mobiledefense/hubot/teams","hooks_url":"https://api.github.com/repos/mobiledefense/hubot/hooks","issue_events_url":"https://api.github.com/repos/mobiledefense/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/mobiledefense/hubot/events","assignees_url":"https://api.github.com/repos/mobiledefense/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/mobiledefense/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/mobiledefense/hubot/tags","blobs_url":"https://api.github.com/repos/mobiledefense/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mobiledefense/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mobiledefense/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mobiledefense/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mobiledefense/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/mobiledefense/hubot/languages","stargazers_url":"https://api.github.com/repos/mobiledefense/hubot/stargazers","contributors_url":"https://api.github.com/repos/mobiledefense/hubot/contributors","subscribers_url":"https://api.github.com/repos/mobiledefense/hubot/subscribers","subscription_url":"https://api.github.com/repos/mobiledefense/hubot/subscription","commits_url":"https://api.github.com/repos/mobiledefense/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mobiledefense/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mobiledefense/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mobiledefense/hubot/issues/comments/{number}","contents_url":"https://api.github.com/repos/mobiledefense/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/mobiledefense/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mobiledefense/hubot/merges","archive_url":"https://api.github.com/repos/mobiledefense/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mobiledefense/hubot/downloads","issues_url":"https://api.github.com/repos/mobiledefense/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/mobiledefense/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/mobiledefense/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/mobiledefense/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mobiledefense/hubot/labels{/name}","releases_url":"https://api.github.com/repos/mobiledefense/hubot/releases{/id}","created_at":"2014-03-25T19:01:07Z","updated_at":"2014-07-28T19:59:17Z","pushed_at":"2014-09-04T14:33:07Z","git_url":"git://github.com/mobiledefense/hubot.git","ssh_url":"git@github.com:mobiledefense/hubot.git","clone_url":"https://github.com/mobiledefense/hubot.git","svn_url":"https://github.com/mobiledefense/hubot","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"mobiledefense:master","ref":"master","sha":"b884946766daf08feabcac4011275e39f40c0cd7","user":{"login":"mobiledefense","id":1266019,"avatar_url":"https://avatars.githubusercontent.com/u/1266019?v=2","gravatar_id":"a409a5396137447d7e62b68872a19402","url":"https://api.github.com/users/mobiledefense","html_url":"https://github.com/mobiledefense","followers_url":"https://api.github.com/users/mobiledefense/followers","following_url":"https://api.github.com/users/mobiledefense/following{/other_user}","gists_url":"https://api.github.com/users/mobiledefense/gists{/gist_id}","starred_url":"https://api.github.com/users/mobiledefense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobiledefense/subscriptions","organizations_url":"https://api.github.com/users/mobiledefense/orgs","repos_url":"https://api.github.com/users/mobiledefense/repos","events_url":"https://api.github.com/users/mobiledefense/events{/privacy}","received_events_url":"https://api.github.com/users/mobiledefense/received_events","type":"Organization","site_admin":false},"repo":{"id":18112767,"name":"hubot","full_name":"mobiledefense/hubot","owner":{"login":"mobiledefense","id":1266019,"avatar_url":"https://avatars.githubusercontent.com/u/1266019?v=2","gravatar_id":"a409a5396137447d7e62b68872a19402","url":"https://api.github.com/users/mobiledefense","html_url":"https://github.com/mobiledefense","followers_url":"https://api.github.com/users/mobiledefense/followers","following_url":"https://api.github.com/users/mobiledefense/following{/other_user}","gists_url":"https://api.github.com/users/mobiledefense/gists{/gist_id}","starred_url":"https://api.github.com/users/mobiledefense/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mobiledefense/subscriptions","organizations_url":"https://api.github.com/users/mobiledefense/orgs","repos_url":"https://api.github.com/users/mobiledefense/repos","events_url":"https://api.github.com/users/mobiledefense/events{/privacy}","received_events_url":"https://api.github.com/users/mobiledefense/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mobiledefense/hubot","description":"","fork":false,"url":"https://api.github.com/repos/mobiledefense/hubot","forks_url":"https://api.github.com/repos/mobiledefense/hubot/forks","keys_url":"https://api.github.com/repos/mobiledefense/hubot/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mobiledefense/hubot/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mobiledefense/hubot/teams","hooks_url":"https://api.github.com/repos/mobiledefense/hubot/hooks","issue_events_url":"https://api.github.com/repos/mobiledefense/hubot/issues/events{/number}","events_url":"https://api.github.com/repos/mobiledefense/hubot/events","assignees_url":"https://api.github.com/repos/mobiledefense/hubot/assignees{/user}","branches_url":"https://api.github.com/repos/mobiledefense/hubot/branches{/branch}","tags_url":"https://api.github.com/repos/mobiledefense/hubot/tags","blobs_url":"https://api.github.com/repos/mobiledefense/hubot/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mobiledefense/hubot/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mobiledefense/hubot/git/refs{/sha}","trees_url":"https://api.github.com/repos/mobiledefense/hubot/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mobiledefense/hubot/statuses/{sha}","languages_url":"https://api.github.com/repos/mobiledefense/hubot/languages","stargazers_url":"https://api.github.com/repos/mobiledefense/hubot/stargazers","contributors_url":"https://api.github.com/repos/mobiledefense/hubot/contributors","subscribers_url":"https://api.github.com/repos/mobiledefense/hubot/subscribers","subscription_url":"https://api.github.com/repos/mobiledefense/hubot/subscription","commits_url":"https://api.github.com/repos/mobiledefense/hubot/commits{/sha}","git_commits_url":"https://api.github.com/repos/mobiledefense/hubot/git/commits{/sha}","comments_url":"https://api.github.com/repos/mobiledefense/hubot/comments{/number}","issue_comment_url":"https://api.github.com/repos/mobiledefense/hubot/issues/comments/{number}","contents_url":"https://api.github.com/repos/mobiledefense/hubot/contents/{+path}","compare_url":"https://api.github.com/repos/mobiledefense/hubot/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mobiledefense/hubot/merges","archive_url":"https://api.github.com/repos/mobiledefense/hubot/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mobiledefense/hubot/downloads","issues_url":"https://api.github.com/repos/mobiledefense/hubot/issues{/number}","pulls_url":"https://api.github.com/repos/mobiledefense/hubot/pulls{/number}","milestones_url":"https://api.github.com/repos/mobiledefense/hubot/milestones{/number}","notifications_url":"https://api.github.com/repos/mobiledefense/hubot/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mobiledefense/hubot/labels{/name}","releases_url":"https://api.github.com/repos/mobiledefense/hubot/releases{/id}","created_at":"2014-03-25T19:01:07Z","updated_at":"2014-07-28T19:59:17Z","pushed_at":"2014-09-04T14:33:07Z","git_url":"git://github.com/mobiledefense/hubot.git","ssh_url":"git@github.com:mobiledefense/hubot.git","clone_url":"https://github.com/mobiledefense/hubot.git","svn_url":"https://github.com/mobiledefense/hubot","homepage":null,"size":270,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mobiledefense/hubot/pulls/2"},"html":{"href":"https://github.com/mobiledefense/hubot/pull/2"},"issue":{"href":"https://api.github.com/repos/mobiledefense/hubot/issues/2"},"comments":{"href":"https://api.github.com/repos/mobiledefense/hubot/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/mobiledefense/hubot/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/mobiledefense/hubot/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mobiledefense/hubot/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/mobiledefense/hubot/statuses/b8d458b211f991fef43ed8f32a4d6d5a2a209133"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":38,"deletions":0,"changed_files":1}}