# Data migration from discourse to zammad

**URL:** https://community.zammad.org/t/data-migration-from-discourse-to-zammad/5646
**Category:** Feature requests
**Created:** [November 11, 2020, 4:32pm UTC](https://community.zammad.org/t/data-migration-from-discourse-to-zammad/5646 "2020-11-11T16:32:43Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![hannesm](https://community.zammad.org/user_avatar/community.zammad.org/hannesm/32/3470_2.png) [@hannesm](https://community.zammad.org/u/hannesm)
#### Post date: [November 14, 2020, 11:36pm UTC](https://community.zammad.org/t/data-migration-from-discourse-to-zammad/5646/4 "2020-11-14T23:36:07Z")

</div>

Replying to myself: I found some answers in [Display timestamp of when incoming email was sent, not ticket created](https://community.zammad.org/t/display-timestamp-of-when-incoming-email-was-sent-not-ticket-created/1223) which suggests to enable “import\_mode” (in [Create Tickets and Articles through API with historical time and date](https://community.zammad.org/t/create-tickets-and-articles-through-api-with-historical-time-and-date/1057)) to allow setting of `created_at` (and other fields) via the REST API.

I still have not found a way to upload raw emails via the REST API - is there any?

I also came across the recently merged PR about “Import archive mailbox” ([https://github.com/zammad/zammad/issues/3142](https://github.com/zammad/zammad/issues/3142)) which looks like it could solve many of my issues.

---

_[View the full topic](https://community.zammad.org/t/data-migration-from-discourse-to-zammad/5646)._
