{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/4512","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/4512/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/4512/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/4512/events","html_url":"https://github.com/medic/medic-webapp/issues/4512","id":320088240,"number":4512,"title":"Phone numbers in scheduled messages only update in real time if the person had no phone number at the time the schedule was created","user":{"login":"sglangevin","id":1286381,"avatar_url":"https://avatars1.githubusercontent.com/u/1286381?v=4","gravatar_id":"","url":"https://api.github.com/users/sglangevin","html_url":"https://github.com/sglangevin","followers_url":"https://api.github.com/users/sglangevin/followers","following_url":"https://api.github.com/users/sglangevin/following{/other_user}","gists_url":"https://api.github.com/users/sglangevin/gists{/gist_id}","starred_url":"https://api.github.com/users/sglangevin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglangevin/subscriptions","organizations_url":"https://api.github.com/users/sglangevin/orgs","repos_url":"https://api.github.com/users/sglangevin/repos","events_url":"https://api.github.com/users/sglangevin/events{/privacy}","received_events_url":"https://api.github.com/users/sglangevin/received_events","type":"User","site_admin":false},"labels":[{"id":279437628,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Priority:%201%20-%20High","name":"Priority: 1 - High","color":"CC0000","default":false},{"id":371074688,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Reports","name":"Reports","color":"e9aa22","default":false},{"id":55021772,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Status:%201%20-%20Triaged","name":"Status: 1 - Triaged","color":"440044","default":false},{"id":4577664,"url":"https://api.github.com/repos/medic/medic-webapp/labels/Type:%20Bug","name":"Type: Bug","color":"c10c02","default":false}],"state":"open","locked":false,"assignee":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars2.githubusercontent.com/u/2064938?v=4","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"assignees":[{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars2.githubusercontent.com/u/2064938?v=4","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2018-05-03T21:34:27Z","updated_at":"2018-05-08T00:28:31Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Seen on beta.dev, 2.15.0-beta.11, logged in as sharon.\r\n\r\nTo reproduce:\r\n1) Send a pregnancy registration from the web app (use full access or a restricted user logged in a level above the CHW area). Make sure the contact associated with your user has a phone number.\r\n2) Go to reports and check the schedule is generated. Notice that the outgoing messages are going to the contact associated with your user (known config issue that will be resolved).\r\n3) Change the phone number of the contact associated with your user.\r\n4) Go back to reports and notice that the phone number for outgoing messages in your schedule hasn't updated.\r\n5) Delete the phone number for the contact associated with your user and repeat 1-4 (this time, instead of changing the phone number, just add a phone number where there wasn't one). Notice that when you add a phone number, the schedule updates to that number. Change the phone number and notice the schedule again updates correctly."},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/387246854","html_url":"https://github.com/medic/medic-webapp/issues/4512#issuecomment-387246854","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/4512","id":387246854,"user":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars2.githubusercontent.com/u/2064938?v=4","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T00:28:31Z","updated_at":"2018-05-08T00:28:31Z","author_association":"OWNER","body":"@abbyad I'm interested in your opinion here too - what should \"reporting_unit\" resolve to?"}}
{"actor":{"display_login":"garethbowen"}}