{"action":"created","issue":{"url":"https://api.github.com/repos/otavanopisto/muikku/issues/3798","repository_url":"https://api.github.com/repos/otavanopisto/muikku","labels_url":"https://api.github.com/repos/otavanopisto/muikku/issues/3798/labels{/name}","comments_url":"https://api.github.com/repos/otavanopisto/muikku/issues/3798/comments","events_url":"https://api.github.com/repos/otavanopisto/muikku/issues/3798/events","html_url":"https://github.com/otavanopisto/muikku/issues/3798","id":293880029,"number":3798,"title":"Changing username fails if new username is already in use","user":{"login":"pkukkon","id":3963004,"avatar_url":"https://avatars1.githubusercontent.com/u/3963004?v=4","gravatar_id":"","url":"https://api.github.com/users/pkukkon","html_url":"https://github.com/pkukkon","followers_url":"https://api.github.com/users/pkukkon/followers","following_url":"https://api.github.com/users/pkukkon/following{/other_user}","gists_url":"https://api.github.com/users/pkukkon/gists{/gist_id}","starred_url":"https://api.github.com/users/pkukkon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkukkon/subscriptions","organizations_url":"https://api.github.com/users/pkukkon/orgs","repos_url":"https://api.github.com/users/pkukkon/repos","events_url":"https://api.github.com/users/pkukkon/events{/privacy}","received_events_url":"https://api.github.com/users/pkukkon/received_events","type":"User","site_admin":false},"labels":[{"id":32511447,"url":"https://api.github.com/repos/otavanopisto/muikku/labels/bug","name":"bug","color":"fc2929","default":true},{"id":358005738,"url":"https://api.github.com/repos/otavanopisto/muikku/labels/profile","name":"profile","color":"FF69B4","default":false}],"state":"open","locked":false,"assignee":{"login":"RazgrizX","id":22167232,"avatar_url":"https://avatars0.githubusercontent.com/u/22167232?v=4","gravatar_id":"","url":"https://api.github.com/users/RazgrizX","html_url":"https://github.com/RazgrizX","followers_url":"https://api.github.com/users/RazgrizX/followers","following_url":"https://api.github.com/users/RazgrizX/following{/other_user}","gists_url":"https://api.github.com/users/RazgrizX/gists{/gist_id}","starred_url":"https://api.github.com/users/RazgrizX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RazgrizX/subscriptions","organizations_url":"https://api.github.com/users/RazgrizX/orgs","repos_url":"https://api.github.com/users/RazgrizX/repos","events_url":"https://api.github.com/users/RazgrizX/events{/privacy}","received_events_url":"https://api.github.com/users/RazgrizX/received_events","type":"User","site_admin":false},"assignees":[{"login":"RazgrizX","id":22167232,"avatar_url":"https://avatars0.githubusercontent.com/u/22167232?v=4","gravatar_id":"","url":"https://api.github.com/users/RazgrizX","html_url":"https://github.com/RazgrizX","followers_url":"https://api.github.com/users/RazgrizX/followers","following_url":"https://api.github.com/users/RazgrizX/following{/other_user}","gists_url":"https://api.github.com/users/RazgrizX/gists{/gist_id}","starred_url":"https://api.github.com/users/RazgrizX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RazgrizX/subscriptions","organizations_url":"https://api.github.com/users/RazgrizX/orgs","repos_url":"https://api.github.com/users/RazgrizX/repos","events_url":"https://api.github.com/users/RazgrizX/events{/privacy}","received_events_url":"https://api.github.com/users/RazgrizX/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/otavanopisto/muikku/milestones/131","html_url":"https://github.com/otavanopisto/muikku/milestone/131","labels_url":"https://api.github.com/repos/otavanopisto/muikku/milestones/131/labels","id":3047721,"number":131,"title":"2018/08","description":"","creator":{"login":"ninakurki","id":26649131,"avatar_url":"https://avatars2.githubusercontent.com/u/26649131?v=4","gravatar_id":"","url":"https://api.github.com/users/ninakurki","html_url":"https://github.com/ninakurki","followers_url":"https://api.github.com/users/ninakurki/followers","following_url":"https://api.github.com/users/ninakurki/following{/other_user}","gists_url":"https://api.github.com/users/ninakurki/gists{/gist_id}","starred_url":"https://api.github.com/users/ninakurki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninakurki/subscriptions","organizations_url":"https://api.github.com/users/ninakurki/orgs","repos_url":"https://api.github.com/users/ninakurki/repos","events_url":"https://api.github.com/users/ninakurki/events{/privacy}","received_events_url":"https://api.github.com/users/ninakurki/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":1,"state":"open","created_at":"2018-01-19T08:30:16Z","updated_at":"2018-02-21T07:29:00Z","due_on":"2018-02-23T08:00:00Z","closed_at":null},"comments":0,"created_at":"2018-02-02T12:57:27Z","updated_at":"2018-02-21T07:30:50Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Changing credentials has no logic whatsoever to deal with usernames that are already in use (apart that the change itself fails due to a duplicate)."},"comment":{"url":"https://api.github.com/repos/otavanopisto/muikku/issues/comments/367237083","html_url":"https://github.com/otavanopisto/muikku/issues/3798#issuecomment-367237083","issue_url":"https://api.github.com/repos/otavanopisto/muikku/issues/3798","id":367237083,"user":{"login":"jjlankinen","id":3032883,"avatar_url":"https://avatars0.githubusercontent.com/u/3032883?v=4","gravatar_id":"","url":"https://api.github.com/users/jjlankinen","html_url":"https://github.com/jjlankinen","followers_url":"https://api.github.com/users/jjlankinen/followers","following_url":"https://api.github.com/users/jjlankinen/following{/other_user}","gists_url":"https://api.github.com/users/jjlankinen/gists{/gist_id}","starred_url":"https://api.github.com/users/jjlankinen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjlankinen/subscriptions","organizations_url":"https://api.github.com/users/jjlankinen/orgs","repos_url":"https://api.github.com/users/jjlankinen/repos","events_url":"https://api.github.com/users/jjlankinen/events{/privacy}","received_events_url":"https://api.github.com/users/jjlankinen/received_events","type":"User","site_admin":false},"created_at":"2018-02-21T07:30:50Z","updated_at":"2018-02-21T07:30:50Z","author_association":"CONTRIBUTOR","body":"Error message should read: Käyttäjätunnus on jo käytössä. / Username is already in use."}}
{"actor":{"display_login":"jjlankinen"}}