{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/zozi/hubot-resources/pulls/1","id":59535911,"html_url":"https://github.com/zozi/hubot-resources/pull/1","diff_url":"https://github.com/zozi/hubot-resources/pull/1.diff","patch_url":"https://github.com/zozi/hubot-resources/pull/1.patch","issue_url":"https://api.github.com/repos/zozi/hubot-resources/issues/1","number":1,"state":"open","locked":false,"title":"Fixes the team association code so it doesn't break the branch watching","user":{"login":"radixhound","id":17362,"avatar_url":"https://avatars.githubusercontent.com/u/17362?v=3","gravatar_id":"","url":"https://api.github.com/users/radixhound","html_url":"https://github.com/radixhound","followers_url":"https://api.github.com/users/radixhound/followers","following_url":"https://api.github.com/users/radixhound/following{/other_user}","gists_url":"https://api.github.com/users/radixhound/gists{/gist_id}","starred_url":"https://api.github.com/users/radixhound/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/radixhound/subscriptions","organizations_url":"https://api.github.com/users/radixhound/orgs","repos_url":"https://api.github.com/users/radixhound/repos","events_url":"https://api.github.com/users/radixhound/events{/privacy}","received_events_url":"https://api.github.com/users/radixhound/received_events","type":"User","site_admin":false},"body":"- the feature to watch a branch expected the resource to contain \n  empty object. Adding the team association was done with a string because\n  it seemed like the empty object wasn't being used for anything.\n- This should fix that problem by storing the team properly in an object.","created_at":"2016-02-16T18:52:05Z","updated_at":"2016-02-16T18:52:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zozi/hubot-resources/pulls/1/commits","review_comments_url":"https://api.github.com/repos/zozi/hubot-resources/pulls/1/comments","review_comment_url":"https://api.github.com/repos/zozi/hubot-resources/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zozi/hubot-resources/issues/1/comments","statuses_url":"https://api.github.com/repos/zozi/hubot-resources/statuses/248ff07536c942091fa3b9107abefdf6935e759a","head":{"label":"zozi:fix_the_branch_watching","ref":"fix_the_branch_watching","sha":"248ff07536c942091fa3b9107abefdf6935e759a","user":{"login":"zozi","id":210845,"avatar_url":"https://avatars.githubusercontent.com/u/210845?v=3","gravatar_id":"","url":"https://api.github.com/users/zozi","html_url":"https://github.com/zozi","followers_url":"https://api.github.com/users/zozi/followers","following_url":"https://api.github.com/users/zozi/following{/other_user}","gists_url":"https://api.github.com/users/zozi/gists{/gist_id}","starred_url":"https://api.github.com/users/zozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozi/subscriptions","organizations_url":"https://api.github.com/users/zozi/orgs","repos_url":"https://api.github.com/users/zozi/repos","events_url":"https://api.github.com/users/zozi/events{/privacy}","received_events_url":"https://api.github.com/users/zozi/received_events","type":"Organization","site_admin":false},"repo":{"id":51626512,"name":"hubot-resources","full_name":"zozi/hubot-resources","owner":{"login":"zozi","id":210845,"avatar_url":"https://avatars.githubusercontent.com/u/210845?v=3","gravatar_id":"","url":"https://api.github.com/users/zozi","html_url":"https://github.com/zozi","followers_url":"https://api.github.com/users/zozi/followers","following_url":"https://api.github.com/users/zozi/following{/other_user}","gists_url":"https://api.github.com/users/zozi/gists{/gist_id}","starred_url":"https://api.github.com/users/zozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozi/subscriptions","organizations_url":"https://api.github.com/users/zozi/orgs","repos_url":"https://api.github.com/users/zozi/repos","events_url":"https://api.github.com/users/zozi/events{/privacy}","received_events_url":"https://api.github.com/users/zozi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zozi/hubot-resources","description":"Hubot script for managing limited resources (e.g. staging servers)","fork":false,"url":"https://api.github.com/repos/zozi/hubot-resources","forks_url":"https://api.github.com/repos/zozi/hubot-resources/forks","keys_url":"https://api.github.com/repos/zozi/hubot-resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zozi/hubot-resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zozi/hubot-resources/teams","hooks_url":"https://api.github.com/repos/zozi/hubot-resources/hooks","issue_events_url":"https://api.github.com/repos/zozi/hubot-resources/issues/events{/number}","events_url":"https://api.github.com/repos/zozi/hubot-resources/events","assignees_url":"https://api.github.com/repos/zozi/hubot-resources/assignees{/user}","branches_url":"https://api.github.com/repos/zozi/hubot-resources/branches{/branch}","tags_url":"https://api.github.com/repos/zozi/hubot-resources/tags","blobs_url":"https://api.github.com/repos/zozi/hubot-resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zozi/hubot-resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zozi/hubot-resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/zozi/hubot-resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zozi/hubot-resources/statuses/{sha}","languages_url":"https://api.github.com/repos/zozi/hubot-resources/languages","stargazers_url":"https://api.github.com/repos/zozi/hubot-resources/stargazers","contributors_url":"https://api.github.com/repos/zozi/hubot-resources/contributors","subscribers_url":"https://api.github.com/repos/zozi/hubot-resources/subscribers","subscription_url":"https://api.github.com/repos/zozi/hubot-resources/subscription","commits_url":"https://api.github.com/repos/zozi/hubot-resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/zozi/hubot-resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/zozi/hubot-resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/zozi/hubot-resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/zozi/hubot-resources/contents/{+path}","compare_url":"https://api.github.com/repos/zozi/hubot-resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zozi/hubot-resources/merges","archive_url":"https://api.github.com/repos/zozi/hubot-resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zozi/hubot-resources/downloads","issues_url":"https://api.github.com/repos/zozi/hubot-resources/issues{/number}","pulls_url":"https://api.github.com/repos/zozi/hubot-resources/pulls{/number}","milestones_url":"https://api.github.com/repos/zozi/hubot-resources/milestones{/number}","notifications_url":"https://api.github.com/repos/zozi/hubot-resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zozi/hubot-resources/labels{/name}","releases_url":"https://api.github.com/repos/zozi/hubot-resources/releases{/id}","deployments_url":"https://api.github.com/repos/zozi/hubot-resources/deployments","created_at":"2016-02-13T01:13:05Z","updated_at":"2016-02-13T01:13:37Z","pushed_at":"2016-02-16T18:48:05Z","git_url":"git://github.com/zozi/hubot-resources.git","ssh_url":"git@github.com:zozi/hubot-resources.git","clone_url":"https://github.com/zozi/hubot-resources.git","svn_url":"https://github.com/zozi/hubot-resources","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"zozi:master","ref":"master","sha":"3a1d37067e1e227ad3b3e1d9b0b77e739440bafe","user":{"login":"zozi","id":210845,"avatar_url":"https://avatars.githubusercontent.com/u/210845?v=3","gravatar_id":"","url":"https://api.github.com/users/zozi","html_url":"https://github.com/zozi","followers_url":"https://api.github.com/users/zozi/followers","following_url":"https://api.github.com/users/zozi/following{/other_user}","gists_url":"https://api.github.com/users/zozi/gists{/gist_id}","starred_url":"https://api.github.com/users/zozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozi/subscriptions","organizations_url":"https://api.github.com/users/zozi/orgs","repos_url":"https://api.github.com/users/zozi/repos","events_url":"https://api.github.com/users/zozi/events{/privacy}","received_events_url":"https://api.github.com/users/zozi/received_events","type":"Organization","site_admin":false},"repo":{"id":51626512,"name":"hubot-resources","full_name":"zozi/hubot-resources","owner":{"login":"zozi","id":210845,"avatar_url":"https://avatars.githubusercontent.com/u/210845?v=3","gravatar_id":"","url":"https://api.github.com/users/zozi","html_url":"https://github.com/zozi","followers_url":"https://api.github.com/users/zozi/followers","following_url":"https://api.github.com/users/zozi/following{/other_user}","gists_url":"https://api.github.com/users/zozi/gists{/gist_id}","starred_url":"https://api.github.com/users/zozi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zozi/subscriptions","organizations_url":"https://api.github.com/users/zozi/orgs","repos_url":"https://api.github.com/users/zozi/repos","events_url":"https://api.github.com/users/zozi/events{/privacy}","received_events_url":"https://api.github.com/users/zozi/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zozi/hubot-resources","description":"Hubot script for managing limited resources (e.g. staging servers)","fork":false,"url":"https://api.github.com/repos/zozi/hubot-resources","forks_url":"https://api.github.com/repos/zozi/hubot-resources/forks","keys_url":"https://api.github.com/repos/zozi/hubot-resources/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zozi/hubot-resources/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zozi/hubot-resources/teams","hooks_url":"https://api.github.com/repos/zozi/hubot-resources/hooks","issue_events_url":"https://api.github.com/repos/zozi/hubot-resources/issues/events{/number}","events_url":"https://api.github.com/repos/zozi/hubot-resources/events","assignees_url":"https://api.github.com/repos/zozi/hubot-resources/assignees{/user}","branches_url":"https://api.github.com/repos/zozi/hubot-resources/branches{/branch}","tags_url":"https://api.github.com/repos/zozi/hubot-resources/tags","blobs_url":"https://api.github.com/repos/zozi/hubot-resources/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zozi/hubot-resources/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zozi/hubot-resources/git/refs{/sha}","trees_url":"https://api.github.com/repos/zozi/hubot-resources/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zozi/hubot-resources/statuses/{sha}","languages_url":"https://api.github.com/repos/zozi/hubot-resources/languages","stargazers_url":"https://api.github.com/repos/zozi/hubot-resources/stargazers","contributors_url":"https://api.github.com/repos/zozi/hubot-resources/contributors","subscribers_url":"https://api.github.com/repos/zozi/hubot-resources/subscribers","subscription_url":"https://api.github.com/repos/zozi/hubot-resources/subscription","commits_url":"https://api.github.com/repos/zozi/hubot-resources/commits{/sha}","git_commits_url":"https://api.github.com/repos/zozi/hubot-resources/git/commits{/sha}","comments_url":"https://api.github.com/repos/zozi/hubot-resources/comments{/number}","issue_comment_url":"https://api.github.com/repos/zozi/hubot-resources/issues/comments{/number}","contents_url":"https://api.github.com/repos/zozi/hubot-resources/contents/{+path}","compare_url":"https://api.github.com/repos/zozi/hubot-resources/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zozi/hubot-resources/merges","archive_url":"https://api.github.com/repos/zozi/hubot-resources/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zozi/hubot-resources/downloads","issues_url":"https://api.github.com/repos/zozi/hubot-resources/issues{/number}","pulls_url":"https://api.github.com/repos/zozi/hubot-resources/pulls{/number}","milestones_url":"https://api.github.com/repos/zozi/hubot-resources/milestones{/number}","notifications_url":"https://api.github.com/repos/zozi/hubot-resources/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zozi/hubot-resources/labels{/name}","releases_url":"https://api.github.com/repos/zozi/hubot-resources/releases{/id}","deployments_url":"https://api.github.com/repos/zozi/hubot-resources/deployments","created_at":"2016-02-13T01:13:05Z","updated_at":"2016-02-13T01:13:37Z","pushed_at":"2016-02-16T18:48:05Z","git_url":"git://github.com/zozi/hubot-resources.git","ssh_url":"git@github.com:zozi/hubot-resources.git","clone_url":"https://github.com/zozi/hubot-resources.git","svn_url":"https://github.com/zozi/hubot-resources","homepage":null,"size":9,"stargazers_count":0,"watchers_count":0,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zozi/hubot-resources/pulls/1"},"html":{"href":"https://github.com/zozi/hubot-resources/pull/1"},"issue":{"href":"https://api.github.com/repos/zozi/hubot-resources/issues/1"},"comments":{"href":"https://api.github.com/repos/zozi/hubot-resources/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/zozi/hubot-resources/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/zozi/hubot-resources/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zozi/hubot-resources/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/zozi/hubot-resources/statuses/248ff07536c942091fa3b9107abefdf6935e759a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":6,"deletions":6,"changed_files":1}}