{"action":"opened","number":344,"pull_request":{"url":"https://api.github.com/repos/alphagov/publisher/pulls/344","id":26758112,"html_url":"https://github.com/alphagov/publisher/pull/344","diff_url":"https://github.com/alphagov/publisher/pull/344.diff","patch_url":"https://github.com/alphagov/publisher/pull/344.patch","issue_url":"https://api.github.com/repos/alphagov/publisher/issues/344","number":344,"state":"open","locked":false,"title":"Don't let ‘Claim 2i’ work when an edition is already claimed","user":{"login":"fofr","id":319055,"avatar_url":"https://avatars.githubusercontent.com/u/319055?v=3","gravatar_id":"","url":"https://api.github.com/users/fofr","html_url":"https://github.com/fofr","followers_url":"https://api.github.com/users/fofr/followers","following_url":"https://api.github.com/users/fofr/following{/other_user}","gists_url":"https://api.github.com/users/fofr/gists{/gist_id}","starred_url":"https://api.github.com/users/fofr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fofr/subscriptions","organizations_url":"https://api.github.com/users/fofr/orgs","repos_url":"https://api.github.com/users/fofr/repos","events_url":"https://api.github.com/users/fofr/events{/privacy}","received_events_url":"https://api.github.com/users/fofr/received_events","type":"User","site_admin":false},"body":"If a user opens the “In review” list and leaves it for a while, they may come back to it and click “Claim 2i” later, eg if they’ve finished reviewing something else.\r\n\r\nIf in the meantime someone had already claimed the edition, the old behaviour would overwrite that reviewer. The old reviewer wouldn’t be notified, and the new reviewer wouldn’t know to tell them.\r\n\r\n* Prevent claiming of 2i when there’s already a reviewer","created_at":"2015-01-02T14:12:17Z","updated_at":"2015-01-02T14:12:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/publisher/pulls/344/commits","review_comments_url":"https://api.github.com/repos/alphagov/publisher/pulls/344/comments","review_comment_url":"https://api.github.com/repos/alphagov/publisher/pulls/comments/{number}","comments_url":"https://api.github.com/repos/alphagov/publisher/issues/344/comments","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/e7295e559c75f0fe7fbc227ebff3aa0bd62099f0","head":{"label":"alphagov:cant-claim-when-claimed","ref":"cant-claim-when-claimed","sha":"e7295e559c75f0fe7fbc227ebff3aa0bd62099f0","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1996077,"name":"publisher","full_name":"alphagov/publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/publisher","description":"The publishing tool for GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/publisher","forks_url":"https://api.github.com/repos/alphagov/publisher/forks","keys_url":"https://api.github.com/repos/alphagov/publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/publisher/events","assignees_url":"https://api.github.com/repos/alphagov/publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/publisher/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/publisher/merges","archive_url":"https://api.github.com/repos/alphagov/publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/publisher/releases{/id}","created_at":"2011-07-04T15:35:13Z","updated_at":"2015-01-01T22:14:42Z","pushed_at":"2015-01-02T14:05:05Z","git_url":"git://github.com/alphagov/publisher.git","ssh_url":"git@github.com:alphagov/publisher.git","clone_url":"https://github.com/alphagov/publisher.git","svn_url":"https://github.com/alphagov/publisher","homepage":"","size":11108,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":18,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"cbf2f16f241954fe8b43c14ce55bae6e433f8739","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":1996077,"name":"publisher","full_name":"alphagov/publisher","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars.githubusercontent.com/u/596977?v=3","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/publisher","description":"The publishing tool for GOV.UK","fork":false,"url":"https://api.github.com/repos/alphagov/publisher","forks_url":"https://api.github.com/repos/alphagov/publisher/forks","keys_url":"https://api.github.com/repos/alphagov/publisher/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/publisher/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/publisher/teams","hooks_url":"https://api.github.com/repos/alphagov/publisher/hooks","issue_events_url":"https://api.github.com/repos/alphagov/publisher/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/publisher/events","assignees_url":"https://api.github.com/repos/alphagov/publisher/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/publisher/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/publisher/tags","blobs_url":"https://api.github.com/repos/alphagov/publisher/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/publisher/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/publisher/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/publisher/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/publisher/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/publisher/languages","stargazers_url":"https://api.github.com/repos/alphagov/publisher/stargazers","contributors_url":"https://api.github.com/repos/alphagov/publisher/contributors","subscribers_url":"https://api.github.com/repos/alphagov/publisher/subscribers","subscription_url":"https://api.github.com/repos/alphagov/publisher/subscription","commits_url":"https://api.github.com/repos/alphagov/publisher/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/publisher/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/publisher/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/publisher/issues/comments/{number}","contents_url":"https://api.github.com/repos/alphagov/publisher/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/publisher/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/publisher/merges","archive_url":"https://api.github.com/repos/alphagov/publisher/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/publisher/downloads","issues_url":"https://api.github.com/repos/alphagov/publisher/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/publisher/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/publisher/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/publisher/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/publisher/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/publisher/releases{/id}","created_at":"2011-07-04T15:35:13Z","updated_at":"2015-01-01T22:14:42Z","pushed_at":"2015-01-02T14:05:05Z","git_url":"git://github.com/alphagov/publisher.git","ssh_url":"git@github.com:alphagov/publisher.git","clone_url":"https://github.com/alphagov/publisher.git","svn_url":"https://github.com/alphagov/publisher","homepage":"","size":11108,"stargazers_count":18,"watchers_count":18,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":6,"forks":9,"open_issues":6,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/344"},"html":{"href":"https://github.com/alphagov/publisher/pull/344"},"issue":{"href":"https://api.github.com/repos/alphagov/publisher/issues/344"},"comments":{"href":"https://api.github.com/repos/alphagov/publisher/issues/344/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/344/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/alphagov/publisher/pulls/344/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/publisher/statuses/e7295e559c75f0fe7fbc227ebff3aa0bd62099f0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":31,"deletions":0,"changed_files":2}}