{"action":"created","issue":{"url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/69","repository_url":"https://api.github.com/repos/ONSdigital/rm-case-service","labels_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/69/comments","events_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/69/events","html_url":"https://github.com/ONSdigital/rm-case-service/pull/69","id":351239438,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA4ODg1OTE0","number":69,"title":"Generate new access code","user":{"login":"AdeHarrison","id":10206077,"node_id":"MDQ6VXNlcjEwMjA2MDc3","avatar_url":"https://avatars1.githubusercontent.com/u/10206077?v=4","gravatar_id":"","url":"https://api.github.com/users/AdeHarrison","html_url":"https://github.com/AdeHarrison","followers_url":"https://api.github.com/users/AdeHarrison/followers","following_url":"https://api.github.com/users/AdeHarrison/following{/other_user}","gists_url":"https://api.github.com/users/AdeHarrison/gists{/gist_id}","starred_url":"https://api.github.com/users/AdeHarrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdeHarrison/subscriptions","organizations_url":"https://api.github.com/users/AdeHarrison/orgs","repos_url":"https://api.github.com/users/AdeHarrison/repos","events_url":"https://api.github.com/users/AdeHarrison/events{/privacy}","received_events_url":"https://api.github.com/users/AdeHarrison/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-08-16T14:50:06Z","updated_at":"2018-08-22T12:12:25Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/ONSdigital/rm-case-service/pulls/69","html_url":"https://github.com/ONSdigital/rm-case-service/pull/69","diff_url":"https://github.com/ONSdigital/rm-case-service/pull/69.diff","patch_url":"https://github.com/ONSdigital/rm-case-service/pull/69.patch"},"body":"# Motivation and Context\r\nTo generate a new access (IAC) code\r\n\r\n# What has changed\r\nDropped case iac code column after migrating existing values from caseiacaudit table. IAC codes should only be stored/read (using latest) from this table.\r\n\r\n# How to test?\r\ntest in conjunction with [rasrm-acceptance-tests PR](rasrm-acceptance-tests](https://github.com/ONSdigital/rasrm-acceptance-tests/pull/168)\r\n\r\ndelete all caseiacaudit records\r\n\r\nstart casesvc service on this branch, caseiacaudit table should be re-populated with iac values from case table and column now removed\r\n\r\n\"Generate new enrolment code\" function from response-operations-ui should add a record to caseiacaudit table (only if no active iac code)\r\n\r\n# Links\r\nhttps://trello.com/c/WTjuaOv5/190-sus004-generate-a-new-access-code-iac-for-an-lms-case\r\n"},"comment":{"url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/comments/415010807","html_url":"https://github.com/ONSdigital/rm-case-service/pull/69#issuecomment-415010807","issue_url":"https://api.github.com/repos/ONSdigital/rm-case-service/issues/69","id":415010807,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNTAxMDgwNw==","user":{"login":"AdeHarrison","id":10206077,"node_id":"MDQ6VXNlcjEwMjA2MDc3","avatar_url":"https://avatars1.githubusercontent.com/u/10206077?v=4","gravatar_id":"","url":"https://api.github.com/users/AdeHarrison","html_url":"https://github.com/AdeHarrison","followers_url":"https://api.github.com/users/AdeHarrison/followers","following_url":"https://api.github.com/users/AdeHarrison/following{/other_user}","gists_url":"https://api.github.com/users/AdeHarrison/gists{/gist_id}","starred_url":"https://api.github.com/users/AdeHarrison/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AdeHarrison/subscriptions","organizations_url":"https://api.github.com/users/AdeHarrison/orgs","repos_url":"https://api.github.com/users/AdeHarrison/repos","events_url":"https://api.github.com/users/AdeHarrison/events{/privacy}","received_events_url":"https://api.github.com/users/AdeHarrison/received_events","type":"User","site_admin":false},"created_at":"2018-08-22T12:12:25Z","updated_at":"2018-08-22T12:12:25Z","author_association":"NONE","body":"![](https://github.trello.services/images/mini-trello-icon.png) [SUS004: Generate a new access code (IAC) for an LMS case](https://trello.com/c/WTjuaOv5/190-sus004-generate-a-new-access-code-iac-for-an-lms-case)"}}
{"actor":{"display_login":"AdeHarrison"}}