{"action":"created","issue":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/332","repository_url":"https://api.github.com/repos/RocketChat/Rocket.Chat","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/332/labels{/name}","comments_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/332/comments","events_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/332/events","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/332","id":96771844,"number":332,"title":"Slack database migration","user":{"login":"IwishIcanFLighT","id":4090502,"avatar_url":"https://avatars.githubusercontent.com/u/4090502?v=3","gravatar_id":"","url":"https://api.github.com/users/IwishIcanFLighT","html_url":"https://github.com/IwishIcanFLighT","followers_url":"https://api.github.com/users/IwishIcanFLighT/followers","following_url":"https://api.github.com/users/IwishIcanFLighT/following{/other_user}","gists_url":"https://api.github.com/users/IwishIcanFLighT/gists{/gist_id}","starred_url":"https://api.github.com/users/IwishIcanFLighT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IwishIcanFLighT/subscriptions","organizations_url":"https://api.github.com/users/IwishIcanFLighT/orgs","repos_url":"https://api.github.com/users/IwishIcanFLighT/repos","events_url":"https://api.github.com/users/IwishIcanFLighT/events{/privacy}","received_events_url":"https://api.github.com/users/IwishIcanFLighT/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/feat:%20integration%20/%20plugin","name":"feat: integration / plugin","color":"207de5"},{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/labels/type:%20new%20feature","name":"type: new feature","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":{"login":"graywolf336","id":850391,"avatar_url":"https://avatars.githubusercontent.com/u/850391?v=3","gravatar_id":"","url":"https://api.github.com/users/graywolf336","html_url":"https://github.com/graywolf336","followers_url":"https://api.github.com/users/graywolf336/followers","following_url":"https://api.github.com/users/graywolf336/following{/other_user}","gists_url":"https://api.github.com/users/graywolf336/gists{/gist_id}","starred_url":"https://api.github.com/users/graywolf336/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graywolf336/subscriptions","organizations_url":"https://api.github.com/users/graywolf336/orgs","repos_url":"https://api.github.com/users/graywolf336/repos","events_url":"https://api.github.com/users/graywolf336/events{/privacy}","received_events_url":"https://api.github.com/users/graywolf336/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/13","html_url":"https://github.com/RocketChat/Rocket.Chat/milestones/Next","labels_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/milestones/13/labels","id":1256570,"number":13,"title":"Next","description":"","creator":{"login":"rodrigok","id":234261,"avatar_url":"https://avatars.githubusercontent.com/u/234261?v=3","gravatar_id":"","url":"https://api.github.com/users/rodrigok","html_url":"https://github.com/rodrigok","followers_url":"https://api.github.com/users/rodrigok/followers","following_url":"https://api.github.com/users/rodrigok/following{/other_user}","gists_url":"https://api.github.com/users/rodrigok/gists{/gist_id}","starred_url":"https://api.github.com/users/rodrigok/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rodrigok/subscriptions","organizations_url":"https://api.github.com/users/rodrigok/orgs","repos_url":"https://api.github.com/users/rodrigok/repos","events_url":"https://api.github.com/users/rodrigok/events{/privacy}","received_events_url":"https://api.github.com/users/rodrigok/received_events","type":"User","site_admin":false},"open_issues":55,"closed_issues":37,"state":"open","created_at":"2015-08-15T21:49:43Z","updated_at":"2016-02-16T02:08:31Z","due_on":null,"closed_at":null},"comments":111,"created_at":"2015-07-23T09:36:31Z","updated_at":"2016-02-17T20:45:49Z","closed_at":"2016-02-15T19:52:18Z","body":"Hi, I just discovered RocketChat and I already love it! Keep it up!\r\n\r\nAs RocketChat claims itself as a Slack-like app, I think it would be great to let the admins to migrate theirs own Slack database (channels, user infos, etc) via the [Slack export tool](https://my.slack.com/services/export). The export is a bunch of JSON file ready to be used.\r\n\r\nThis would encourage people to use RocketChat instead of Slack, even if they've been using Slack before.\r\n\r\nThanks !\r\n\r\n**Items Left to Be Done:**\r\n- [x] Message to a channel when that channel is archived\r\n- [x] File uploads/attachments\r\n- [ ] Emails for invites (or something) to be sent out after the import is finished and new users were imported which aren't deleted in slack.\r\n- [x] Lots of testing\r\n- [x] Messages from bots (bot_message)\r\n- [x] Messages about channel renaming (channel_name)\r\n- [x] Messages about setting a channel's topic (channel_topic)\r\n- [ ] Messages about messages being pinned (pinned_item)\r\n- [x] Messages about setting a channel's purpose (channel_purpose)\r\n- [ ] Messages about a channel being archived (channel_archive)\r\n\r\n** ~~Not Importing Right Now~~ **\r\n- [x] ~~Messages about file comments (file_comment)~~\r\n- [x] ~~Messages about integrations being added to channels (bot_add)~~\r\n\r\n<bountysource-plugin>\r\n---\r\nWant to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24819740-slack-database-migration?utm_campaign=plugin&utm_content=tracker%2F16890630&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F16890630&utm_medium=issues&utm_source=github).\r\n</bountysource-plugin>"},"comment":{"url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/comments/185396082","html_url":"https://github.com/RocketChat/Rocket.Chat/issues/332#issuecomment-185396082","issue_url":"https://api.github.com/repos/RocketChat/Rocket.Chat/issues/332","id":185396082,"user":{"login":"patcon","id":305339,"avatar_url":"https://avatars.githubusercontent.com/u/305339?v=3","gravatar_id":"","url":"https://api.github.com/users/patcon","html_url":"https://github.com/patcon","followers_url":"https://api.github.com/users/patcon/followers","following_url":"https://api.github.com/users/patcon/following{/other_user}","gists_url":"https://api.github.com/users/patcon/gists{/gist_id}","starred_url":"https://api.github.com/users/patcon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patcon/subscriptions","organizations_url":"https://api.github.com/users/patcon/orgs","repos_url":"https://api.github.com/users/patcon/repos","events_url":"https://api.github.com/users/patcon/events{/privacy}","received_events_url":"https://api.github.com/users/patcon/received_events","type":"User","site_admin":false},"created_at":"2016-02-17T20:45:49Z","updated_at":"2016-02-17T20:45:49Z","body":"@graywolf336 sorry, you're right. And I've confirmed that there don't seem to be any wonky changes in those id's between exports"}}