{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4496","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4496/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4496/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4496/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4496","id":112813558,"number":4496,"title":"Ensure users created as confirmed have populated 'emails' fields","user":{"login":"mfraezz","id":5659262,"avatar_url":"https://avatars.githubusercontent.com/u/5659262?v=3","gravatar_id":"","url":"https://api.github.com/users/mfraezz","html_url":"https://github.com/mfraezz","followers_url":"https://api.github.com/users/mfraezz/followers","following_url":"https://api.github.com/users/mfraezz/following{/other_user}","gists_url":"https://api.github.com/users/mfraezz/gists{/gist_id}","starred_url":"https://api.github.com/users/mfraezz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfraezz/subscriptions","organizations_url":"https://api.github.com/users/mfraezz/orgs","repos_url":"https://api.github.com/users/mfraezz/repos","events_url":"https://api.github.com/users/mfraezz/events{/privacy}","received_events_url":"https://api.github.com/users/mfraezz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-22T14:20:46Z","updated_at":"2015-10-22T15:47:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/4496","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4496","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/4496.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/4496.patch"},"body":"Purpose\r\n=======\r\nUsers created as 'confirmed' should have an email associated with their account, as they used it to 'confirm' their account.\r\n\r\nChanges\r\n=======\r\nEmail address used to confirm is added to newly created confirmed user.\r\n\r\nSide Effects\r\n=========\r\nNone\r\n\r\nNotes\r\n---------\r\nTo fix preexisting broken users, run \r\n`python -m scripts.migration.migrate_confirmed_user_emails` \r\n\r\n[#OSF-4876]"},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/150267872","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/4496#issuecomment-150267872","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/4496","id":150267872,"user":{"login":"abought","id":2957073,"avatar_url":"https://avatars.githubusercontent.com/u/2957073?v=3","gravatar_id":"","url":"https://api.github.com/users/abought","html_url":"https://github.com/abought","followers_url":"https://api.github.com/users/abought/followers","following_url":"https://api.github.com/users/abought/following{/other_user}","gists_url":"https://api.github.com/users/abought/gists{/gist_id}","starred_url":"https://api.github.com/users/abought/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abought/subscriptions","organizations_url":"https://api.github.com/users/abought/orgs","repos_url":"https://api.github.com/users/abought/repos","events_url":"https://api.github.com/users/abought/events{/privacy}","received_events_url":"https://api.github.com/users/abought/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T15:47:23Z","updated_at":"2015-10-22T15:47:23Z","body":"CR2 complete. \r\n\r\nSimple, straightforward, and consistent with the migration script. :ocean: :octopus: :palm_tree: \r\n\r\nAlso, the notes about said migration script are very helpful. Thanks."}}