{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/grnhse/zdr/pulls/6","id":168121025,"html_url":"https://github.com/grnhse/zdr/pull/6","diff_url":"https://github.com/grnhse/zdr/pull/6.diff","patch_url":"https://github.com/grnhse/zdr/pull/6.patch","issue_url":"https://api.github.com/repos/grnhse/zdr/issues/6","number":6,"state":"closed","locked":false,"title":"Assign tickets by number of tickets an agent already has, and limit max number of tickets per agent","user":{"login":"dianaliu","id":460874,"avatar_url":"https://avatars0.githubusercontent.com/u/460874?v=4","gravatar_id":"","url":"https://api.github.com/users/dianaliu","html_url":"https://github.com/dianaliu","followers_url":"https://api.github.com/users/dianaliu/followers","following_url":"https://api.github.com/users/dianaliu/following{/other_user}","gists_url":"https://api.github.com/users/dianaliu/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaliu/subscriptions","organizations_url":"https://api.github.com/users/dianaliu/orgs","repos_url":"https://api.github.com/users/dianaliu/repos","events_url":"https://api.github.com/users/dianaliu/events{/privacy}","received_events_url":"https://api.github.com/users/dianaliu/received_events","type":"User","site_admin":false},"body":"So I can view the diff easier \r\n\r\nhttps://greenhouseio.atlassian.net/browse/OPS-891\r\n\r\nAdded method `fakeOpenTickets` which may be returned by `fetchOpenTickets` for easier testing","created_at":"2018-02-09T00:03:42Z","updated_at":"2018-02-21T15:22:51Z","closed_at":"2018-02-21T15:22:51Z","merged_at":"2018-02-21T15:22:51Z","merge_commit_sha":"57422ad86bdffbf7503fc397181f570554207a24","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/grnhse/zdr/pulls/6/commits","review_comments_url":"https://api.github.com/repos/grnhse/zdr/pulls/6/comments","review_comment_url":"https://api.github.com/repos/grnhse/zdr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/grnhse/zdr/issues/6/comments","statuses_url":"https://api.github.com/repos/grnhse/zdr/statuses/a79b03f230ac030ac345aa9458e3320bdb8133c1","head":{"label":"grnhse:OPS-891-assign-by-num-tickets","ref":"OPS-891-assign-by-num-tickets","sha":"a79b03f230ac030ac345aa9458e3320bdb8133c1","user":{"login":"grnhse","id":5897040,"avatar_url":"https://avatars1.githubusercontent.com/u/5897040?v=4","gravatar_id":"","url":"https://api.github.com/users/grnhse","html_url":"https://github.com/grnhse","followers_url":"https://api.github.com/users/grnhse/followers","following_url":"https://api.github.com/users/grnhse/following{/other_user}","gists_url":"https://api.github.com/users/grnhse/gists{/gist_id}","starred_url":"https://api.github.com/users/grnhse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grnhse/subscriptions","organizations_url":"https://api.github.com/users/grnhse/orgs","repos_url":"https://api.github.com/users/grnhse/repos","events_url":"https://api.github.com/users/grnhse/events{/privacy}","received_events_url":"https://api.github.com/users/grnhse/received_events","type":"Organization","site_admin":false},"repo":{"id":112238351,"name":"zdr","full_name":"grnhse/zdr","owner":{"login":"grnhse","id":5897040,"avatar_url":"https://avatars1.githubusercontent.com/u/5897040?v=4","gravatar_id":"","url":"https://api.github.com/users/grnhse","html_url":"https://github.com/grnhse","followers_url":"https://api.github.com/users/grnhse/followers","following_url":"https://api.github.com/users/grnhse/following{/other_user}","gists_url":"https://api.github.com/users/grnhse/gists{/gist_id}","starred_url":"https://api.github.com/users/grnhse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grnhse/subscriptions","organizations_url":"https://api.github.com/users/grnhse/orgs","repos_url":"https://api.github.com/users/grnhse/repos","events_url":"https://api.github.com/users/grnhse/events{/privacy}","received_events_url":"https://api.github.com/users/grnhse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grnhse/zdr","description":"Zendesk Roullette Google Script","fork":false,"url":"https://api.github.com/repos/grnhse/zdr","forks_url":"https://api.github.com/repos/grnhse/zdr/forks","keys_url":"https://api.github.com/repos/grnhse/zdr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grnhse/zdr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grnhse/zdr/teams","hooks_url":"https://api.github.com/repos/grnhse/zdr/hooks","issue_events_url":"https://api.github.com/repos/grnhse/zdr/issues/events{/number}","events_url":"https://api.github.com/repos/grnhse/zdr/events","assignees_url":"https://api.github.com/repos/grnhse/zdr/assignees{/user}","branches_url":"https://api.github.com/repos/grnhse/zdr/branches{/branch}","tags_url":"https://api.github.com/repos/grnhse/zdr/tags","blobs_url":"https://api.github.com/repos/grnhse/zdr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grnhse/zdr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grnhse/zdr/git/refs{/sha}","trees_url":"https://api.github.com/repos/grnhse/zdr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grnhse/zdr/statuses/{sha}","languages_url":"https://api.github.com/repos/grnhse/zdr/languages","stargazers_url":"https://api.github.com/repos/grnhse/zdr/stargazers","contributors_url":"https://api.github.com/repos/grnhse/zdr/contributors","subscribers_url":"https://api.github.com/repos/grnhse/zdr/subscribers","subscription_url":"https://api.github.com/repos/grnhse/zdr/subscription","commits_url":"https://api.github.com/repos/grnhse/zdr/commits{/sha}","git_commits_url":"https://api.github.com/repos/grnhse/zdr/git/commits{/sha}","comments_url":"https://api.github.com/repos/grnhse/zdr/comments{/number}","issue_comment_url":"https://api.github.com/repos/grnhse/zdr/issues/comments{/number}","contents_url":"https://api.github.com/repos/grnhse/zdr/contents/{+path}","compare_url":"https://api.github.com/repos/grnhse/zdr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grnhse/zdr/merges","archive_url":"https://api.github.com/repos/grnhse/zdr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grnhse/zdr/downloads","issues_url":"https://api.github.com/repos/grnhse/zdr/issues{/number}","pulls_url":"https://api.github.com/repos/grnhse/zdr/pulls{/number}","milestones_url":"https://api.github.com/repos/grnhse/zdr/milestones{/number}","notifications_url":"https://api.github.com/repos/grnhse/zdr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grnhse/zdr/labels{/name}","releases_url":"https://api.github.com/repos/grnhse/zdr/releases{/id}","deployments_url":"https://api.github.com/repos/grnhse/zdr/deployments","created_at":"2017-11-27T19:22:19Z","updated_at":"2017-11-27T20:01:33Z","pushed_at":"2018-02-21T15:22:51Z","git_url":"git://github.com/grnhse/zdr.git","ssh_url":"git@github.com:grnhse/zdr.git","clone_url":"https://github.com/grnhse/zdr.git","svn_url":"https://github.com/grnhse/zdr","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"grnhse:master","ref":"master","sha":"75fd634b39b014c52d0ec732d8ad9f63de5dc452","user":{"login":"grnhse","id":5897040,"avatar_url":"https://avatars1.githubusercontent.com/u/5897040?v=4","gravatar_id":"","url":"https://api.github.com/users/grnhse","html_url":"https://github.com/grnhse","followers_url":"https://api.github.com/users/grnhse/followers","following_url":"https://api.github.com/users/grnhse/following{/other_user}","gists_url":"https://api.github.com/users/grnhse/gists{/gist_id}","starred_url":"https://api.github.com/users/grnhse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grnhse/subscriptions","organizations_url":"https://api.github.com/users/grnhse/orgs","repos_url":"https://api.github.com/users/grnhse/repos","events_url":"https://api.github.com/users/grnhse/events{/privacy}","received_events_url":"https://api.github.com/users/grnhse/received_events","type":"Organization","site_admin":false},"repo":{"id":112238351,"name":"zdr","full_name":"grnhse/zdr","owner":{"login":"grnhse","id":5897040,"avatar_url":"https://avatars1.githubusercontent.com/u/5897040?v=4","gravatar_id":"","url":"https://api.github.com/users/grnhse","html_url":"https://github.com/grnhse","followers_url":"https://api.github.com/users/grnhse/followers","following_url":"https://api.github.com/users/grnhse/following{/other_user}","gists_url":"https://api.github.com/users/grnhse/gists{/gist_id}","starred_url":"https://api.github.com/users/grnhse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grnhse/subscriptions","organizations_url":"https://api.github.com/users/grnhse/orgs","repos_url":"https://api.github.com/users/grnhse/repos","events_url":"https://api.github.com/users/grnhse/events{/privacy}","received_events_url":"https://api.github.com/users/grnhse/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grnhse/zdr","description":"Zendesk Roullette Google Script","fork":false,"url":"https://api.github.com/repos/grnhse/zdr","forks_url":"https://api.github.com/repos/grnhse/zdr/forks","keys_url":"https://api.github.com/repos/grnhse/zdr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grnhse/zdr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grnhse/zdr/teams","hooks_url":"https://api.github.com/repos/grnhse/zdr/hooks","issue_events_url":"https://api.github.com/repos/grnhse/zdr/issues/events{/number}","events_url":"https://api.github.com/repos/grnhse/zdr/events","assignees_url":"https://api.github.com/repos/grnhse/zdr/assignees{/user}","branches_url":"https://api.github.com/repos/grnhse/zdr/branches{/branch}","tags_url":"https://api.github.com/repos/grnhse/zdr/tags","blobs_url":"https://api.github.com/repos/grnhse/zdr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grnhse/zdr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grnhse/zdr/git/refs{/sha}","trees_url":"https://api.github.com/repos/grnhse/zdr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grnhse/zdr/statuses/{sha}","languages_url":"https://api.github.com/repos/grnhse/zdr/languages","stargazers_url":"https://api.github.com/repos/grnhse/zdr/stargazers","contributors_url":"https://api.github.com/repos/grnhse/zdr/contributors","subscribers_url":"https://api.github.com/repos/grnhse/zdr/subscribers","subscription_url":"https://api.github.com/repos/grnhse/zdr/subscription","commits_url":"https://api.github.com/repos/grnhse/zdr/commits{/sha}","git_commits_url":"https://api.github.com/repos/grnhse/zdr/git/commits{/sha}","comments_url":"https://api.github.com/repos/grnhse/zdr/comments{/number}","issue_comment_url":"https://api.github.com/repos/grnhse/zdr/issues/comments{/number}","contents_url":"https://api.github.com/repos/grnhse/zdr/contents/{+path}","compare_url":"https://api.github.com/repos/grnhse/zdr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grnhse/zdr/merges","archive_url":"https://api.github.com/repos/grnhse/zdr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grnhse/zdr/downloads","issues_url":"https://api.github.com/repos/grnhse/zdr/issues{/number}","pulls_url":"https://api.github.com/repos/grnhse/zdr/pulls{/number}","milestones_url":"https://api.github.com/repos/grnhse/zdr/milestones{/number}","notifications_url":"https://api.github.com/repos/grnhse/zdr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grnhse/zdr/labels{/name}","releases_url":"https://api.github.com/repos/grnhse/zdr/releases{/id}","deployments_url":"https://api.github.com/repos/grnhse/zdr/deployments","created_at":"2017-11-27T19:22:19Z","updated_at":"2017-11-27T20:01:33Z","pushed_at":"2018-02-21T15:22:51Z","git_url":"git://github.com/grnhse/zdr.git","ssh_url":"git@github.com:grnhse/zdr.git","clone_url":"https://github.com/grnhse/zdr.git","svn_url":"https://github.com/grnhse/zdr","homepage":null,"size":74,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/grnhse/zdr/pulls/6"},"html":{"href":"https://github.com/grnhse/zdr/pull/6"},"issue":{"href":"https://api.github.com/repos/grnhse/zdr/issues/6"},"comments":{"href":"https://api.github.com/repos/grnhse/zdr/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/grnhse/zdr/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/grnhse/zdr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/grnhse/zdr/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/grnhse/zdr/statuses/a79b03f230ac030ac345aa9458e3320bdb8133c1"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"dianaliu","id":460874,"avatar_url":"https://avatars0.githubusercontent.com/u/460874?v=4","gravatar_id":"","url":"https://api.github.com/users/dianaliu","html_url":"https://github.com/dianaliu","followers_url":"https://api.github.com/users/dianaliu/followers","following_url":"https://api.github.com/users/dianaliu/following{/other_user}","gists_url":"https://api.github.com/users/dianaliu/gists{/gist_id}","starred_url":"https://api.github.com/users/dianaliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dianaliu/subscriptions","organizations_url":"https://api.github.com/users/dianaliu/orgs","repos_url":"https://api.github.com/users/dianaliu/repos","events_url":"https://api.github.com/users/dianaliu/events{/privacy}","received_events_url":"https://api.github.com/users/dianaliu/received_events","type":"User","site_admin":false},"comments":0,"review_comments":10,"maintainer_can_modify":false,"commits":1,"additions":297,"deletions":16,"changed_files":3}}
{"actor":{"display_login":"dianaliu"}}