{"action":"created","issue":{"url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8493","repository_url":"https://api.github.com/repos/mattermost/mattermost-server","labels_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8493/labels{/name}","comments_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8493/comments","events_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8493/events","html_url":"https://github.com/mattermost/mattermost-server/issues/8493","id":307562615,"number":8493,"title":"Slack-Import: Mattermost only imports first user","user":{"login":"dnl-09","id":37614758,"avatar_url":"https://avatars1.githubusercontent.com/u/37614758?v=4","gravatar_id":"","url":"https://api.github.com/users/dnl-09","html_url":"https://github.com/dnl-09","followers_url":"https://api.github.com/users/dnl-09/followers","following_url":"https://api.github.com/users/dnl-09/following{/other_user}","gists_url":"https://api.github.com/users/dnl-09/gists{/gist_id}","starred_url":"https://api.github.com/users/dnl-09/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dnl-09/subscriptions","organizations_url":"https://api.github.com/users/dnl-09/orgs","repos_url":"https://api.github.com/users/dnl-09/repos","events_url":"https://api.github.com/users/dnl-09/events{/privacy}","received_events_url":"https://api.github.com/users/dnl-09/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-22T09:23:35Z","updated_at":"2018-04-13T09:28:01Z","closed_at":"2018-04-13T09:28:01Z","author_association":"NONE","body":"Hey,\r\n\r\nim having a problem while importing a Slack export in Mattermost.\r\n\r\n#### Summary\r\nMattermost only imports the first user from Slack-Import (users.json)\r\n\r\n#### Steps to reproduce\r\nI exported my Slack-Team like it is descriped in the documentation. I enabled the username-overwriting by plugins and added the e-mail-adresses with the Slack-Advanced-Exporter. Than i imported the new Zip-File in Mattermost 4.8, running with a Postgres 9.5 on Gentoo. \r\nI also tried the same setup on ubuntu 16.04 with the same problem.\r\n\r\n#### Expected behavior\r\nMattermost creates the channels and imports the first user in the users.json-File. Also Mattermost imports all messages, that this user has sent. But only from the one.\r\nEdit: If i delete the first user in the users.json, it imports only the next.\r\n\r\n#### Observed behavior (that appears unintentional) \r\nI've attached screenshots from the MattermostImportSummary.txt and the server-log. \r\n\r\n#### Possible fixes\r\nMaybe the format of the users.json? But proofed by multiple json validators, it should be valide.\r\n\r\nI hope you can help me!\r\n\r\nThank you,\r\nDaniel\r\n\r\n![serverlog](https://user-images.githubusercontent.com/37614758/37761699-b24da0ba-2dba-11e8-982a-8b96e1e80ddc.PNG)\r\n![mattermostimportsummary](https://user-images.githubusercontent.com/37614758/37761700-b28379e2-2dba-11e8-8904-516a388f739d.PNG)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/mattermost/mattermost-server/issues/comments/381079586","html_url":"https://github.com/mattermost/mattermost-server/issues/8493#issuecomment-381079586","issue_url":"https://api.github.com/repos/mattermost/mattermost-server/issues/8493","id":381079586,"user":{"login":"lindy65","id":13020833,"avatar_url":"https://avatars1.githubusercontent.com/u/13020833?v=4","gravatar_id":"","url":"https://api.github.com/users/lindy65","html_url":"https://github.com/lindy65","followers_url":"https://api.github.com/users/lindy65/followers","following_url":"https://api.github.com/users/lindy65/following{/other_user}","gists_url":"https://api.github.com/users/lindy65/gists{/gist_id}","starred_url":"https://api.github.com/users/lindy65/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lindy65/subscriptions","organizations_url":"https://api.github.com/users/lindy65/orgs","repos_url":"https://api.github.com/users/lindy65/repos","events_url":"https://api.github.com/users/lindy65/events{/privacy}","received_events_url":"https://api.github.com/users/lindy65/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T09:28:01Z","updated_at":"2018-04-13T09:28:01Z","author_association":"COLLABORATOR","body":"I'll close this issue off here as the PR is merged and will release with v4.9 on April 16th."}}
{"actor":{"display_login":"lindy65"}}