{"action":"created","issue":{"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/6351","repository_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/6351/labels{/name}","comments_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/6351/comments","events_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/6351/events","html_url":"https://github.com/department-of-veterans-affairs/caseflow/issues/6351","id":344561638,"node_id":"MDU6SXNzdWUzNDQ1NjE2Mzg=","number":6351,"title":"Save Veteran first, middle, last, and suffix in the Caseflow DB when an appeal goes through intake","user":{"login":"amprokop","id":3781835,"node_id":"MDQ6VXNlcjM3ODE4MzU=","avatar_url":"https://avatars0.githubusercontent.com/u/3781835?v=4","gravatar_id":"","url":"https://api.github.com/users/amprokop","html_url":"https://github.com/amprokop","followers_url":"https://api.github.com/users/amprokop/followers","following_url":"https://api.github.com/users/amprokop/following{/other_user}","gists_url":"https://api.github.com/users/amprokop/gists{/gist_id}","starred_url":"https://api.github.com/users/amprokop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amprokop/subscriptions","organizations_url":"https://api.github.com/users/amprokop/orgs","repos_url":"https://api.github.com/users/amprokop/repos","events_url":"https://api.github.com/users/amprokop/events{/privacy}","received_events_url":"https://api.github.com/users/amprokop/received_events","type":"User","site_admin":false},"labels":[{"id":481371759,"node_id":"MDU6TGFiZWw0ODEzNzE3NTk=","url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/labels/Ready-for-Dev","name":"Ready-for-Dev","color":"e6e6e6","default":false},{"id":704737160,"node_id":"MDU6TGFiZWw3MDQ3MzcxNjA=","url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/labels/caseflow-intake","name":"caseflow-intake","color":"ee55cc","default":false},{"id":860784841,"node_id":"MDU6TGFiZWw4NjA3ODQ4NDE=","url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/labels/sierra","name":"sierra","color":"1efc64","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/milestones/42","html_url":"https://github.com/department-of-veterans-affairs/caseflow/milestone/42","labels_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/milestones/42/labels","id":3436330,"node_id":"MDk6TWlsZXN0b25lMzQzNjMzMA==","number":42,"title":"AMA Pilot II - RAMP Appeals","description":"","creator":{"login":"laurjpeterson","id":27704093,"node_id":"MDQ6VXNlcjI3NzA0MDkz","avatar_url":"https://avatars3.githubusercontent.com/u/27704093?v=4","gravatar_id":"","url":"https://api.github.com/users/laurjpeterson","html_url":"https://github.com/laurjpeterson","followers_url":"https://api.github.com/users/laurjpeterson/followers","following_url":"https://api.github.com/users/laurjpeterson/following{/other_user}","gists_url":"https://api.github.com/users/laurjpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/laurjpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laurjpeterson/subscriptions","organizations_url":"https://api.github.com/users/laurjpeterson/orgs","repos_url":"https://api.github.com/users/laurjpeterson/repos","events_url":"https://api.github.com/users/laurjpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/laurjpeterson/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":2,"state":"open","created_at":"2018-06-19T16:01:48Z","updated_at":"2018-08-06T13:35:37Z","due_on":"2018-10-01T07:00:00Z","closed_at":null},"comments":2,"created_at":"2018-07-25T18:43:37Z","updated_at":"2018-08-06T19:42:52Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"When an appeal goes through Caseflow Intake, we should save the most current veteran first name, middle name, last name, and suffix from BGS in a new veteran record or in one that already exists. \r\n\r\nFor veteran rows already in our DB, the next time we fetch BGS information, we should save the Veteran name to backfill data.\r\n\r\n# AC\r\n- `veteran_first_name`, `veteran_middle_name` `veteran_last_name`, and `veteran_name_suffix` are added to the Veterans table\r\n- Middle name and suffix are fetched from BGS (currently we only fetch first name and last name)\r\n- When Caseflow Intake is used to intake an appeal, we fetch the Veteran name from BGS and either save it to  a new Veterans row or update the existing row\r\n- For Veteran rows already in the DB, if the name is blank, the next time we fetch data from BGS, save the Veteran name in the DB"},"comment":{"url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/comments/410829544","html_url":"https://github.com/department-of-veterans-affairs/caseflow/issues/6351#issuecomment-410829544","issue_url":"https://api.github.com/repos/department-of-veterans-affairs/caseflow/issues/6351","id":410829544,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMDgyOTU0NA==","user":{"login":"kahlouie","id":5531789,"node_id":"MDQ6VXNlcjU1MzE3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/5531789?v=4","gravatar_id":"","url":"https://api.github.com/users/kahlouie","html_url":"https://github.com/kahlouie","followers_url":"https://api.github.com/users/kahlouie/followers","following_url":"https://api.github.com/users/kahlouie/following{/other_user}","gists_url":"https://api.github.com/users/kahlouie/gists{/gist_id}","starred_url":"https://api.github.com/users/kahlouie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kahlouie/subscriptions","organizations_url":"https://api.github.com/users/kahlouie/orgs","repos_url":"https://api.github.com/users/kahlouie/repos","events_url":"https://api.github.com/users/kahlouie/events{/privacy}","received_events_url":"https://api.github.com/users/kahlouie/received_events","type":"User","site_admin":false},"created_at":"2018-08-06T19:42:52Z","updated_at":"2018-08-06T19:42:52Z","author_association":"CONTRIBUTOR","body":"Good to know. Thanks."}}
{"actor":{"display_login":"kahlouie"}}