{"action":"opened","number":81,"pull_request":{"url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/81","id":58831809,"html_url":"https://github.com/hubot-scripts/hubot-pager-me/pull/81","diff_url":"https://github.com/hubot-scripts/hubot-pager-me/pull/81.diff","patch_url":"https://github.com/hubot-scripts/hubot-pager-me/pull/81.patch","issue_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues/81","number":81,"state":"open","locked":false,"title":"Flip the order of schedule and username","user":{"login":"keithduncan","id":22101,"avatar_url":"https://avatars.githubusercontent.com/u/22101?v=3","gravatar_id":"","url":"https://api.github.com/users/keithduncan","html_url":"https://github.com/keithduncan","followers_url":"https://api.github.com/users/keithduncan/followers","following_url":"https://api.github.com/users/keithduncan/following{/other_user}","gists_url":"https://api.github.com/users/keithduncan/gists{/gist_id}","starred_url":"https://api.github.com/users/keithduncan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keithduncan/subscriptions","organizations_url":"https://api.github.com/users/keithduncan/orgs","repos_url":"https://api.github.com/users/keithduncan/repos","events_url":"https://api.github.com/users/keithduncan/events{/privacy}","received_events_url":"https://api.github.com/users/keithduncan/received_events","type":"User","site_admin":true},"body":"When running `/who's oncall` you want to scan down the list for the schedule names not the usernames, the individual oncall for a given schedule is secondary information.\r\n\r\n/cc @technicalpickles for review","created_at":"2016-02-10T00:29:34Z","updated_at":"2016-02-10T00:29:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/81/commits","review_comments_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/81/comments","review_comment_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues/81/comments","statuses_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/statuses/b452e69b354efcfde30fa9bddc7d1d928451c319","head":{"label":"github:flip-order-of-whos-oncall","ref":"flip-order-of-whos-oncall","sha":"b452e69b354efcfde30fa9bddc7d1d928451c319","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":44947240,"name":"hubot-pager-me","full_name":"github/hubot-pager-me","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/hubot-pager-me","description":"PagerDuty integration for Hubot","fork":true,"url":"https://api.github.com/repos/github/hubot-pager-me","forks_url":"https://api.github.com/repos/github/hubot-pager-me/forks","keys_url":"https://api.github.com/repos/github/hubot-pager-me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/github/hubot-pager-me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/github/hubot-pager-me/teams","hooks_url":"https://api.github.com/repos/github/hubot-pager-me/hooks","issue_events_url":"https://api.github.com/repos/github/hubot-pager-me/issues/events{/number}","events_url":"https://api.github.com/repos/github/hubot-pager-me/events","assignees_url":"https://api.github.com/repos/github/hubot-pager-me/assignees{/user}","branches_url":"https://api.github.com/repos/github/hubot-pager-me/branches{/branch}","tags_url":"https://api.github.com/repos/github/hubot-pager-me/tags","blobs_url":"https://api.github.com/repos/github/hubot-pager-me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/github/hubot-pager-me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/github/hubot-pager-me/git/refs{/sha}","trees_url":"https://api.github.com/repos/github/hubot-pager-me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/github/hubot-pager-me/statuses/{sha}","languages_url":"https://api.github.com/repos/github/hubot-pager-me/languages","stargazers_url":"https://api.github.com/repos/github/hubot-pager-me/stargazers","contributors_url":"https://api.github.com/repos/github/hubot-pager-me/contributors","subscribers_url":"https://api.github.com/repos/github/hubot-pager-me/subscribers","subscription_url":"https://api.github.com/repos/github/hubot-pager-me/subscription","commits_url":"https://api.github.com/repos/github/hubot-pager-me/commits{/sha}","git_commits_url":"https://api.github.com/repos/github/hubot-pager-me/git/commits{/sha}","comments_url":"https://api.github.com/repos/github/hubot-pager-me/comments{/number}","issue_comment_url":"https://api.github.com/repos/github/hubot-pager-me/issues/comments{/number}","contents_url":"https://api.github.com/repos/github/hubot-pager-me/contents/{+path}","compare_url":"https://api.github.com/repos/github/hubot-pager-me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/github/hubot-pager-me/merges","archive_url":"https://api.github.com/repos/github/hubot-pager-me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/github/hubot-pager-me/downloads","issues_url":"https://api.github.com/repos/github/hubot-pager-me/issues{/number}","pulls_url":"https://api.github.com/repos/github/hubot-pager-me/pulls{/number}","milestones_url":"https://api.github.com/repos/github/hubot-pager-me/milestones{/number}","notifications_url":"https://api.github.com/repos/github/hubot-pager-me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/github/hubot-pager-me/labels{/name}","releases_url":"https://api.github.com/repos/github/hubot-pager-me/releases{/id}","deployments_url":"https://api.github.com/repos/github/hubot-pager-me/deployments","created_at":"2015-10-26T05:07:45Z","updated_at":"2015-10-26T05:07:46Z","pushed_at":"2016-02-10T00:28:20Z","git_url":"git://github.com/github/hubot-pager-me.git","ssh_url":"git@github.com:github/hubot-pager-me.git","clone_url":"https://github.com/github/hubot-pager-me.git","svn_url":"https://github.com/github/hubot-pager-me","homepage":"https://www.npmjs.com/package/hubot-pager-me","size":233,"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":"hubot-scripts:master","ref":"master","sha":"3b89c09aebad1e26070ef61cc01c44b355929331","user":{"login":"hubot-scripts","id":5367660,"avatar_url":"https://avatars.githubusercontent.com/u/5367660?v=3","gravatar_id":"","url":"https://api.github.com/users/hubot-scripts","html_url":"https://github.com/hubot-scripts","followers_url":"https://api.github.com/users/hubot-scripts/followers","following_url":"https://api.github.com/users/hubot-scripts/following{/other_user}","gists_url":"https://api.github.com/users/hubot-scripts/gists{/gist_id}","starred_url":"https://api.github.com/users/hubot-scripts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubot-scripts/subscriptions","organizations_url":"https://api.github.com/users/hubot-scripts/orgs","repos_url":"https://api.github.com/users/hubot-scripts/repos","events_url":"https://api.github.com/users/hubot-scripts/events{/privacy}","received_events_url":"https://api.github.com/users/hubot-scripts/received_events","type":"Organization","site_admin":false},"repo":{"id":21144465,"name":"hubot-pager-me","full_name":"hubot-scripts/hubot-pager-me","owner":{"login":"hubot-scripts","id":5367660,"avatar_url":"https://avatars.githubusercontent.com/u/5367660?v=3","gravatar_id":"","url":"https://api.github.com/users/hubot-scripts","html_url":"https://github.com/hubot-scripts","followers_url":"https://api.github.com/users/hubot-scripts/followers","following_url":"https://api.github.com/users/hubot-scripts/following{/other_user}","gists_url":"https://api.github.com/users/hubot-scripts/gists{/gist_id}","starred_url":"https://api.github.com/users/hubot-scripts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hubot-scripts/subscriptions","organizations_url":"https://api.github.com/users/hubot-scripts/orgs","repos_url":"https://api.github.com/users/hubot-scripts/repos","events_url":"https://api.github.com/users/hubot-scripts/events{/privacy}","received_events_url":"https://api.github.com/users/hubot-scripts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hubot-scripts/hubot-pager-me","description":"PagerDuty integration for Hubot","fork":false,"url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me","forks_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/forks","keys_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/teams","hooks_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/hooks","issue_events_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues/events{/number}","events_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/events","assignees_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/assignees{/user}","branches_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/branches{/branch}","tags_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/tags","blobs_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/git/refs{/sha}","trees_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/statuses/{sha}","languages_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/languages","stargazers_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/stargazers","contributors_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/contributors","subscribers_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/subscribers","subscription_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/subscription","commits_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/commits{/sha}","git_commits_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/git/commits{/sha}","comments_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/comments{/number}","issue_comment_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues/comments{/number}","contents_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/contents/{+path}","compare_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/merges","archive_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/downloads","issues_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues{/number}","pulls_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls{/number}","milestones_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/milestones{/number}","notifications_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/labels{/name}","releases_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/releases{/id}","deployments_url":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/deployments","created_at":"2014-06-23T22:29:02Z","updated_at":"2016-02-04T14:02:04Z","pushed_at":"2016-02-09T02:18:55Z","git_url":"git://github.com/hubot-scripts/hubot-pager-me.git","ssh_url":"git@github.com:hubot-scripts/hubot-pager-me.git","clone_url":"https://github.com/hubot-scripts/hubot-pager-me.git","svn_url":"https://github.com/hubot-scripts/hubot-pager-me","homepage":"https://www.npmjs.com/package/hubot-pager-me","size":579,"stargazers_count":36,"watchers_count":36,"language":"CoffeeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":46,"mirror_url":null,"open_issues_count":10,"forks":46,"open_issues":10,"watchers":36,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/81"},"html":{"href":"https://github.com/hubot-scripts/hubot-pager-me/pull/81"},"issue":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues/81"},"comments":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/issues/81/comments"},"review_comments":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/81/comments"},"review_comment":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/pulls/81/commits"},"statuses":{"href":"https://api.github.com/repos/hubot-scripts/hubot-pager-me/statuses/b452e69b354efcfde30fa9bddc7d1d928451c319"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}