{"action":"created","comment":{"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments/208636860","pull_request_review_id":144487538,"id":208636860,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODYzNjg2MA==","diff_hunk":"@@ -26,11 +26,12 @@ def call\n                            @error = true\n                        end\n     if success?\n-      original_case                                 = @original_ico_appeal\n+      original_case                                 = @original_ico_appeal.original_case\n       @overturned_ico_case                          = overturned_klass.new\n-      @overturned_ico_case.subject                  = original_case.subject\n+      # @overturned_ic_case.subject                  = original_case.subject","path":"app/services/create_overturned_ico_case_service.rb","position":8,"original_position":8,"commit_id":"34404f5b0347d32d3cf88c9d4febab76273c1e1d","original_commit_id":"34404f5b0347d32d3cf88c9d4febab76273c1e1d","user":{"login":"aliuk2012","id":3441519,"node_id":"MDQ6VXNlcjM0NDE1MTk=","avatar_url":"https://avatars1.githubusercontent.com/u/3441519?v=4","gravatar_id":"","url":"https://api.github.com/users/aliuk2012","html_url":"https://github.com/aliuk2012","followers_url":"https://api.github.com/users/aliuk2012/followers","following_url":"https://api.github.com/users/aliuk2012/following{/other_user}","gists_url":"https://api.github.com/users/aliuk2012/gists{/gist_id}","starred_url":"https://api.github.com/users/aliuk2012/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aliuk2012/subscriptions","organizations_url":"https://api.github.com/users/aliuk2012/orgs","repos_url":"https://api.github.com/users/aliuk2012/repos","events_url":"https://api.github.com/users/aliuk2012/events{/privacy}","received_events_url":"https://api.github.com/users/aliuk2012/received_events","type":"User","site_admin":false},"body":"Are we not copying the subject from the original case?","created_at":"2018-08-08T15:53:37Z","updated_at":"2018-08-08T15:53:37Z","html_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/367#discussion_r208636860","pull_request_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments/208636860"},"html":{"href":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/367#discussion_r208636860"},"pull_request":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367"}}},"pull_request":{"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367","id":207002811,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA3MDAyODEx","html_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/367","diff_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/367.diff","patch_url":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/367.patch","issue_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/367","number":367,"state":"open","locked":false,"title":"CT-1788 Prepopulate reply method and email/address","user":{"login":"stephenrichards","id":115617,"node_id":"MDQ6VXNlcjExNTYxNw==","avatar_url":"https://avatars1.githubusercontent.com/u/115617?v=4","gravatar_id":"","url":"https://api.github.com/users/stephenrichards","html_url":"https://github.com/stephenrichards","followers_url":"https://api.github.com/users/stephenrichards/followers","following_url":"https://api.github.com/users/stephenrichards/following{/other_user}","gists_url":"https://api.github.com/users/stephenrichards/gists{/gist_id}","starred_url":"https://api.github.com/users/stephenrichards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stephenrichards/subscriptions","organizations_url":"https://api.github.com/users/stephenrichards/orgs","repos_url":"https://api.github.com/users/stephenrichards/repos","events_url":"https://api.github.com/users/stephenrichards/events{/privacy}","received_events_url":"https://api.github.com/users/stephenrichards/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-08T13:12:03Z","updated_at":"2018-08-08T15:53:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"57a2eefc11f4959cf8ffef2c72de1f16f4fefce1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367/commits","review_comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367/comments","review_comment_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/367/comments","statuses_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/34404f5b0347d32d3cf88c9d4febab76273c1e1d","head":{"label":"ministryofjustice:ct-1788-populate-reply-method","ref":"ct-1788-populate-reply-method","sha":"34404f5b0347d32d3cf88c9d4febab76273c1e1d","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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":114666612,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQ2NjY2MTI=","name":"correspondence_tool_staff","full_name":"ministryofjustice/correspondence_tool_staff","owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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/correspondence_tool_staff","description":"Correspondence Tool for staff","fork":false,"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff","forks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/forks","keys_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/events","assignees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/merges","archive_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/deployments","created_at":"2017-12-18T17:03:14Z","updated_at":"2018-08-08T13:41:20Z","pushed_at":"2018-08-08T15:46:11Z","git_url":"git://github.com/ministryofjustice/correspondence_tool_staff.git","ssh_url":"git@github.com:ministryofjustice/correspondence_tool_staff.git","clone_url":"https://github.com/ministryofjustice/correspondence_tool_staff.git","svn_url":"https://github.com/ministryofjustice/correspondence_tool_staff","homepage":null,"size":4688,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"ministryofjustice:master","ref":"master","sha":"be3c8b27e81c41902967cf7496cfaf2e1ed5c05e","user":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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":114666612,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQ2NjY2MTI=","name":"correspondence_tool_staff","full_name":"ministryofjustice/correspondence_tool_staff","owner":{"login":"ministryofjustice","id":2203574,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyMDM1NzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2203574?v=4","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/correspondence_tool_staff","description":"Correspondence Tool for staff","fork":false,"url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff","forks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/forks","keys_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/teams","hooks_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/hooks","issue_events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/events{/number}","events_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/events","assignees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/assignees{/user}","branches_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/branches{/branch}","tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/tags","blobs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/refs{/sha}","trees_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/{sha}","languages_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/languages","stargazers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/stargazers","contributors_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contributors","subscribers_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscribers","subscription_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/subscription","commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/commits{/sha}","git_commits_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/git/commits{/sha}","comments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/comments{/number}","issue_comment_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/comments{/number}","contents_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/contents/{+path}","compare_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/merges","archive_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/downloads","issues_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues{/number}","pulls_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls{/number}","milestones_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/milestones{/number}","notifications_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/labels{/name}","releases_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/releases{/id}","deployments_url":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/deployments","created_at":"2017-12-18T17:03:14Z","updated_at":"2018-08-08T13:41:20Z","pushed_at":"2018-08-08T15:46:11Z","git_url":"git://github.com/ministryofjustice/correspondence_tool_staff.git","ssh_url":"git@github.com:ministryofjustice/correspondence_tool_staff.git","clone_url":"https://github.com/ministryofjustice/correspondence_tool_staff.git","svn_url":"https://github.com/ministryofjustice/correspondence_tool_staff","homepage":null,"size":4688,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":8,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367"},"html":{"href":"https://github.com/ministryofjustice/correspondence_tool_staff/pull/367"},"issue":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/367"},"comments":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/issues/367/comments"},"review_comments":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367/comments"},"review_comment":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/pulls/367/commits"},"statuses":{"href":"https://api.github.com/repos/ministryofjustice/correspondence_tool_staff/statuses/34404f5b0347d32d3cf88c9d4febab76273c1e1d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"aliuk2012"}}