{"action":"created","comment":{"url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments/240637315","pull_request_review_id":183711224,"id":240637315,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MDYzNzMxNQ==","diff_hunk":"@@ -47,6 +48,18 @@ public void notifyDefendant(Claim claim) {\n         );\n     }\n \n+    public void notifyDefendantWhenInterlocutoryJudgementRequested(Claim claim) {\n+        Map<String, String> parameters = aggregateParams(claim);\n+        parameters.put(CLAIMANT_NAME, claim.getClaimData().getClaimant().getName());","path":"src/main/java/uk/gov/hmcts/cmc/claimstore/services/notifications/NotificationToDefendantService.java","position":14,"original_position":14,"commit_id":"1d2ec240e432121a77bf61600436ac158770ac75","original_commit_id":"1d2ec240e432121a77bf61600436ac158770ac75","user":{"login":"markry-kainos","id":43344584,"node_id":"MDQ6VXNlcjQzMzQ0NTg0","avatar_url":"https://avatars1.githubusercontent.com/u/43344584?v=4","gravatar_id":"","url":"https://api.github.com/users/markry-kainos","html_url":"https://github.com/markry-kainos","followers_url":"https://api.github.com/users/markry-kainos/followers","following_url":"https://api.github.com/users/markry-kainos/following{/other_user}","gists_url":"https://api.github.com/users/markry-kainos/gists{/gist_id}","starred_url":"https://api.github.com/users/markry-kainos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/markry-kainos/subscriptions","organizations_url":"https://api.github.com/users/markry-kainos/orgs","repos_url":"https://api.github.com/users/markry-kainos/repos","events_url":"https://api.github.com/users/markry-kainos/events{/privacy}","received_events_url":"https://api.github.com/users/markry-kainos/received_events","type":"User","site_admin":false},"body":"should we do any checks here? on `getClaimData().getClaimant().getName()` - maybe these are done higher up","created_at":"2018-12-11T14:43:23Z","updated_at":"2018-12-11T14:44:19Z","html_url":"https://github.com/hmcts/cmc-claim-store/pull/607#discussion_r240637315","pull_request_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments/240637315"},"html":{"href":"https://github.com/hmcts/cmc-claim-store/pull/607#discussion_r240637315"},"pull_request":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607"}}},"pull_request":{"url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607","id":237315721,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MzE1NzIx","html_url":"https://github.com/hmcts/cmc-claim-store/pull/607","diff_url":"https://github.com/hmcts/cmc-claim-store/pull/607.diff","patch_url":"https://github.com/hmcts/cmc-claim-store/pull/607.patch","issue_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/607","number":607,"state":"open","locked":false,"title":"ROC:4596 - notification email when interlocutory judgement requested","user":{"login":"singh-surjeet","id":13645812,"node_id":"MDQ6VXNlcjEzNjQ1ODEy","avatar_url":"https://avatars3.githubusercontent.com/u/13645812?v=4","gravatar_id":"","url":"https://api.github.com/users/singh-surjeet","html_url":"https://github.com/singh-surjeet","followers_url":"https://api.github.com/users/singh-surjeet/followers","following_url":"https://api.github.com/users/singh-surjeet/following{/other_user}","gists_url":"https://api.github.com/users/singh-surjeet/gists{/gist_id}","starred_url":"https://api.github.com/users/singh-surjeet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/singh-surjeet/subscriptions","organizations_url":"https://api.github.com/users/singh-surjeet/orgs","repos_url":"https://api.github.com/users/singh-surjeet/repos","events_url":"https://api.github.com/users/singh-surjeet/events{/privacy}","received_events_url":"https://api.github.com/users/singh-surjeet/received_events","type":"User","site_admin":false},"body":"### JIRA link (if applicable) ###\r\n\r\nhttps://tools.hmcts.net/jira/browse/ROC-4596\r\n\r\n### Change description ###\r\n\r\nNotify Defendant regarding Interlocutory judgement\r\n\r\n**Does this PR introduce a breaking change?** (check one with \"x\")\r\n\r\n```\r\n[ ] Yes\r\n[X] No\r\n```\r\n","created_at":"2018-12-10T13:14:57Z","updated_at":"2018-12-11T14:44:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e0efafee7a88fbfef85fd56f6ea26fadc4112dc3","assignee":null,"assignees":[],"requested_reviewers":[{"login":"dharmendrak","id":581234,"node_id":"MDQ6VXNlcjU4MTIzNA==","avatar_url":"https://avatars2.githubusercontent.com/u/581234?v=4","gravatar_id":"","url":"https://api.github.com/users/dharmendrak","html_url":"https://github.com/dharmendrak","followers_url":"https://api.github.com/users/dharmendrak/followers","following_url":"https://api.github.com/users/dharmendrak/following{/other_user}","gists_url":"https://api.github.com/users/dharmendrak/gists{/gist_id}","starred_url":"https://api.github.com/users/dharmendrak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dharmendrak/subscriptions","organizations_url":"https://api.github.com/users/dharmendrak/orgs","repos_url":"https://api.github.com/users/dharmendrak/repos","events_url":"https://api.github.com/users/dharmendrak/events{/privacy}","received_events_url":"https://api.github.com/users/dharmendrak/received_events","type":"User","site_admin":false},{"login":"sabahirfan","id":12894151,"node_id":"MDQ6VXNlcjEyODk0MTUx","avatar_url":"https://avatars0.githubusercontent.com/u/12894151?v=4","gravatar_id":"","url":"https://api.github.com/users/sabahirfan","html_url":"https://github.com/sabahirfan","followers_url":"https://api.github.com/users/sabahirfan/followers","following_url":"https://api.github.com/users/sabahirfan/following{/other_user}","gists_url":"https://api.github.com/users/sabahirfan/gists{/gist_id}","starred_url":"https://api.github.com/users/sabahirfan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sabahirfan/subscriptions","organizations_url":"https://api.github.com/users/sabahirfan/orgs","repos_url":"https://api.github.com/users/sabahirfan/repos","events_url":"https://api.github.com/users/sabahirfan/events{/privacy}","received_events_url":"https://api.github.com/users/sabahirfan/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":1157835444,"node_id":"MDU6TGFiZWwxMTU3ODM1NDQ0","url":"https://api.github.com/repos/hmcts/cmc-claim-store/labels/ns:cmc-claim-store-pr-607","name":"ns:cmc-claim-store-pr-607","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607/commits","review_comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607/comments","review_comment_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/607/comments","statuses_url":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/1d2ec240e432121a77bf61600436ac158770ac75","head":{"label":"hmcts:feature/ROC-4596","ref":"feature/ROC-4596","sha":"1d2ec240e432121a77bf61600436ac158770ac75","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":101856095,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE4NTYwOTU=","name":"cmc-claim-store","full_name":"hmcts/cmc-claim-store","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmcts/cmc-claim-store","description":"Backend service for Civil Money Claims","fork":false,"url":"https://api.github.com/repos/hmcts/cmc-claim-store","forks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/forks","keys_url":"https://api.github.com/repos/hmcts/cmc-claim-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/cmc-claim-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/cmc-claim-store/teams","hooks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/hooks","issue_events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/events","assignees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/cmc-claim-store/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/tags","blobs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/cmc-claim-store/languages","stargazers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/stargazers","contributors_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contributors","subscribers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscribers","subscription_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscription","commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/cmc-claim-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/cmc-claim-store/merges","archive_url":"https://api.github.com/repos/hmcts/cmc-claim-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/cmc-claim-store/downloads","issues_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/cmc-claim-store/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/cmc-claim-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/cmc-claim-store/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/cmc-claim-store/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/deployments","created_at":"2017-08-30T08:17:34Z","updated_at":"2018-12-11T14:38:21Z","pushed_at":"2018-12-11T14:40:20Z","git_url":"git://github.com/hmcts/cmc-claim-store.git","ssh_url":"git@github.com:hmcts/cmc-claim-store.git","clone_url":"https://github.com/hmcts/cmc-claim-store.git","svn_url":"https://github.com/hmcts/cmc-claim-store","homepage":"","size":5064,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":14,"watchers":2,"default_branch":"master"}},"base":{"label":"hmcts:master","ref":"master","sha":"c3adcedbc41f50a48d7fcd7fd16697c543ce1714","user":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"repo":{"id":101856095,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE4NTYwOTU=","name":"cmc-claim-store","full_name":"hmcts/cmc-claim-store","private":false,"owner":{"login":"hmcts","id":22817111,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODE3MTEx","avatar_url":"https://avatars1.githubusercontent.com/u/22817111?v=4","gravatar_id":"","url":"https://api.github.com/users/hmcts","html_url":"https://github.com/hmcts","followers_url":"https://api.github.com/users/hmcts/followers","following_url":"https://api.github.com/users/hmcts/following{/other_user}","gists_url":"https://api.github.com/users/hmcts/gists{/gist_id}","starred_url":"https://api.github.com/users/hmcts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmcts/subscriptions","organizations_url":"https://api.github.com/users/hmcts/orgs","repos_url":"https://api.github.com/users/hmcts/repos","events_url":"https://api.github.com/users/hmcts/events{/privacy}","received_events_url":"https://api.github.com/users/hmcts/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/hmcts/cmc-claim-store","description":"Backend service for Civil Money Claims","fork":false,"url":"https://api.github.com/repos/hmcts/cmc-claim-store","forks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/forks","keys_url":"https://api.github.com/repos/hmcts/cmc-claim-store/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hmcts/cmc-claim-store/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hmcts/cmc-claim-store/teams","hooks_url":"https://api.github.com/repos/hmcts/cmc-claim-store/hooks","issue_events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/events{/number}","events_url":"https://api.github.com/repos/hmcts/cmc-claim-store/events","assignees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/assignees{/user}","branches_url":"https://api.github.com/repos/hmcts/cmc-claim-store/branches{/branch}","tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/tags","blobs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/refs{/sha}","trees_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/{sha}","languages_url":"https://api.github.com/repos/hmcts/cmc-claim-store/languages","stargazers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/stargazers","contributors_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contributors","subscribers_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscribers","subscription_url":"https://api.github.com/repos/hmcts/cmc-claim-store/subscription","commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/commits{/sha}","git_commits_url":"https://api.github.com/repos/hmcts/cmc-claim-store/git/commits{/sha}","comments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/comments{/number}","issue_comment_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/comments{/number}","contents_url":"https://api.github.com/repos/hmcts/cmc-claim-store/contents/{+path}","compare_url":"https://api.github.com/repos/hmcts/cmc-claim-store/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hmcts/cmc-claim-store/merges","archive_url":"https://api.github.com/repos/hmcts/cmc-claim-store/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hmcts/cmc-claim-store/downloads","issues_url":"https://api.github.com/repos/hmcts/cmc-claim-store/issues{/number}","pulls_url":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls{/number}","milestones_url":"https://api.github.com/repos/hmcts/cmc-claim-store/milestones{/number}","notifications_url":"https://api.github.com/repos/hmcts/cmc-claim-store/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hmcts/cmc-claim-store/labels{/name}","releases_url":"https://api.github.com/repos/hmcts/cmc-claim-store/releases{/id}","deployments_url":"https://api.github.com/repos/hmcts/cmc-claim-store/deployments","created_at":"2017-08-30T08:17:34Z","updated_at":"2018-12-11T14:38:21Z","pushed_at":"2018-12-11T14:40:20Z","git_url":"git://github.com/hmcts/cmc-claim-store.git","ssh_url":"git@github.com:hmcts/cmc-claim-store.git","clone_url":"https://github.com/hmcts/cmc-claim-store.git","svn_url":"https://github.com/hmcts/cmc-claim-store","homepage":"","size":5064,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":14,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":14,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607"},"html":{"href":"https://github.com/hmcts/cmc-claim-store/pull/607"},"issue":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/607"},"comments":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/issues/607/comments"},"review_comments":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607/comments"},"review_comment":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/pulls/607/commits"},"statuses":{"href":"https://api.github.com/repos/hmcts/cmc-claim-store/statuses/1d2ec240e432121a77bf61600436ac158770ac75"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"markry-kainos"}}