{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments/26500997","id":26500997,"diff_hunk":"@@ -1,6 +1,6 @@\n class DefenceRequestsController < BaseController\n \n-  before_action :find_defence_request, :set_policy, only: [:show, :solicitor_time_of_arrival, :edit, :update, :feedback, :close, :open, :accept, :resend_details]\n+  before_action :find_defence_request, :set_policy, only: [:show, :solicitor_time_of_arrival, :edit, :update, :feedback, :close, :open, :accept, :resend_details, :queue]","path":"app/controllers/defence_requests_controller.rb","position":4,"original_position":4,"commit_id":"1577115debea3566f6ae7ce996e736084e88a003","original_commit_id":"1577115debea3566f6ae7ce996e736084e88a003","user":{"login":"chriscarter90","id":1398210,"avatar_url":"https://avatars.githubusercontent.com/u/1398210?v=3","gravatar_id":"","url":"https://api.github.com/users/chriscarter90","html_url":"https://github.com/chriscarter90","followers_url":"https://api.github.com/users/chriscarter90/followers","following_url":"https://api.github.com/users/chriscarter90/following{/other_user}","gists_url":"https://api.github.com/users/chriscarter90/gists{/gist_id}","starred_url":"https://api.github.com/users/chriscarter90/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriscarter90/subscriptions","organizations_url":"https://api.github.com/users/chriscarter90/orgs","repos_url":"https://api.github.com/users/chriscarter90/repos","events_url":"https://api.github.com/users/chriscarter90/events{/privacy}","received_events_url":"https://api.github.com/users/chriscarter90/received_events","type":"User","site_admin":false},"body":"Consider `except: [:slightly_smaller_list]`?","created_at":"2015-03-16T16:25:06Z","updated_at":"2015-03-16T16:25:06Z","html_url":"https://github.com/ministryofjustice/defence-solicitor/pull/89#discussion_r26500997","pull_request_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments/26500997"},"html":{"href":"https://github.com/ministryofjustice/defence-solicitor/pull/89#discussion_r26500997"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89","id":31258239,"html_url":"https://github.com/ministryofjustice/defence-solicitor/pull/89","diff_url":"https://github.com/ministryofjustice/defence-solicitor/pull/89.diff","patch_url":"https://github.com/ministryofjustice/defence-solicitor/pull/89.patch","issue_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/89","number":89,"state":"open","locked":false,"title":"Functionality for draft and queued states","user":{"login":"FriedSock","id":823643,"avatar_url":"https://avatars.githubusercontent.com/u/823643?v=3","gravatar_id":"","url":"https://api.github.com/users/FriedSock","html_url":"https://github.com/FriedSock","followers_url":"https://api.github.com/users/FriedSock/followers","following_url":"https://api.github.com/users/FriedSock/following{/other_user}","gists_url":"https://api.github.com/users/FriedSock/gists{/gist_id}","starred_url":"https://api.github.com/users/FriedSock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriedSock/subscriptions","organizations_url":"https://api.github.com/users/FriedSock/orgs","repos_url":"https://api.github.com/users/FriedSock/repos","events_url":"https://api.github.com/users/FriedSock/events{/privacy}","received_events_url":"https://api.github.com/users/FriedSock/received_events","type":"User","site_admin":false},"body":"Created -> Draft rename had already been merged, but to complete the story it required the creation of queued states as well.","created_at":"2015-03-16T16:14:41Z","updated_at":"2015-03-16T16:25:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"726dd391c7913e6347226c5c54650e32e93e5d11","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/89/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/1577115debea3566f6ae7ce996e736084e88a003","head":{"label":"ministryofjustice:draft-state","ref":"draft-state","sha":"1577115debea3566f6ae7ce996e736084e88a003","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":29689999,"name":"defence-solicitor","full_name":"ministryofjustice/defence-solicitor","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/defence-solicitor","description":"DSDS - Defence Solicitor Deployment Service (Duty Solicitors)","fork":false,"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor","forks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/forks","keys_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/events","assignees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/merges","archive_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/releases{/id}","created_at":"2015-01-22T17:11:39Z","updated_at":"2015-03-16T16:22:15Z","pushed_at":"2015-03-16T16:22:15Z","git_url":"git://github.com/ministryofjustice/defence-solicitor.git","ssh_url":"git@github.com:ministryofjustice/defence-solicitor.git","clone_url":"https://github.com/ministryofjustice/defence-solicitor.git","svn_url":"https://github.com/ministryofjustice/defence-solicitor","homepage":"","size":2012,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"c951c1a5c88faf65eb50e1e404068464699f008d","user":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"repo":{"id":29689999,"name":"defence-solicitor","full_name":"ministryofjustice/defence-solicitor","owner":{"login":"ministryofjustice","id":2203574,"avatar_url":"https://avatars.githubusercontent.com/u/2203574?v=3","gravatar_id":"","url":"https://api.github.com/users/ministryofjustice","html_url":"https://github.com/ministryofjustice","followers_url":"https://api.github.com/users/ministryofjustice/followers","following_url":"https://api.github.com/users/ministryofjustice/following{/other_user}","gists_url":"https://api.github.com/users/ministryofjustice/gists{/gist_id}","starred_url":"https://api.github.com/users/ministryofjustice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ministryofjustice/subscriptions","organizations_url":"https://api.github.com/users/ministryofjustice/orgs","repos_url":"https://api.github.com/users/ministryofjustice/repos","events_url":"https://api.github.com/users/ministryofjustice/events{/privacy}","received_events_url":"https://api.github.com/users/ministryofjustice/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ministryofjustice/defence-solicitor","description":"DSDS - Defence Solicitor Deployment Service (Duty Solicitors)","fork":false,"url":"https://api.github.com/repos/ministryofjustice/defence-solicitor","forks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/forks","keys_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/events","assignees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/merges","archive_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/defence-solicitor/releases{/id}","created_at":"2015-01-22T17:11:39Z","updated_at":"2015-03-16T16:22:15Z","pushed_at":"2015-03-16T16:22:15Z","git_url":"git://github.com/ministryofjustice/defence-solicitor.git","ssh_url":"git@github.com:ministryofjustice/defence-solicitor.git","clone_url":"https://github.com/ministryofjustice/defence-solicitor.git","svn_url":"https://github.com/ministryofjustice/defence-solicitor","homepage":"","size":2012,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":2,"forks":0,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89"},"html":{"href":"https://github.com/ministryofjustice/defence-solicitor/pull/89"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/89"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/issues/89/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/pulls/89/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/defence-solicitor/statuses/1577115debea3566f6ae7ce996e736084e88a003"}}}}