Importing tickets into Zammad from a helpdesk without an importer

When Zammad has no built-in migrator for your helpdesk, the move runs through the REST API with mapped groups, organizations, users and tickets, tested on a copy before cutover.

On this page

Migrating from a helpdesk without an importer into Zammad

A team leaving osTicket, Request Tracker or an in-house system has no built-in Zammad migrator to rely on, so the move is a custom API import of groups, organizations, users, tickets and articles, planned and tested on a copy before anyone touches production. The built-in migrators cover only Freshdesk, Kayako, OTRS and Zendesk. For anything else, Zammad's documentation points to two routes: importing through the Zammad API or custom development carried out with Zammad. In practice the effort depends less on Zammad than on the source system: how cleanly its data can be exported, how many custom fields and states need a home, and how much history must survive the move. Ask any partner to size the work from a field-by-field inventory of your source data rather than from the number of tickets alone.

Start with the mapping, because every later step depends on it. Decide how each source queue becomes a Zammad group, how source accounts map to Zammad users with the correct roles, and how customer companies become organizations. Record each decision in a mapping sheet that covers ticket states, priorities and custom fields, and mark every source value that has no Zammad equivalent so someone decides on it in advance. Confirm which fields the API accepts for each object type in your Zammad version, since the REST API allows all operations available in the UI and the exact field names are documented in the Zammad REST API introduction. Plan the authentication method early as well, because the API supports HTTP token authentication, basic authentication and OAuth2, and a dedicated import token with narrow permissions is easier to review and revoke than a personal login.

Which source objects map cleanly to Zammad and which need decisions

This table compares common source helpdesk objects against their closest Zammad counterparts and flags where a mapping decision or a loss note is needed. Read each row as a starting hypothesis, and confirm every source field against your own export before writing the import script. The main takeaway is that users, tickets and articles usually map directly, while states, custom fields, SLAs and time entries need explicit decisions.

Source objectZammad counterpartMapping status
Queues or departmentsGroups, with agent access set per groupDirect map, but confirm whether the source uses shared or nested queues
Customer companiesOrganizations, with customers linked to one organizationDecision needed if customers belong to several companies
Agents and customersUsers with roles and group permissionsDirect map for email and name, decision needed for passwords and roles
Ticket statesTicket states (new, open, pending reminder, closed and similar)Decision needed, since custom source states must be mapped or consolidated
PrioritiesTicket prioritiesDecision needed when source priority scales differ in count or naming
Custom fieldsCustom object attributes added in Zammad before importDecision needed, create attributes first or record values in articles as text
Public and internal notesArticles with internal or public visibilityDirect map, confirm how the source marks internal content
AttachmentsArticle attachments stored in ZammadDirect map, confirm size limits and whether inline images survive the export
Watchers and followersNo direct equivalent confirmed for import, so record as a note or follower listLoss note, confirm with the Zammad version you run
SLAs and time entriesSLA and time accounting configured separately in ZammadLoss note, historical values usually need to be stored as text or a separate report
Ticket history and audit eventsNot reproduced as Zammad history entries by a generic importLoss note, decide whether to archive the source history separately

Documented paths for getting data into Zammad

Zammad ships migrators for a few named helpdesks, so any other source depends on the REST API and, where that falls short, custom development. The cards below cover the documented options, the authentication choices and the limits you should confirm before you commit to a route.

Built-in migrators and their limits

Zammad includes migrators for Freshdesk, Kayako, OTRS and Zendesk. If your source is not on that list, none of them applies, and you should not try to adapt one by editing its mapping for another product. Use the migration documentation to confirm what each built-in migrator covers, then use it as a reference for the data objects you will need to move yourself: groups, organizations, users, tickets and articles.

Built-in migrators
4
Migration docs

REST API as the primary route

The Zammad REST API allows all operations available in the UI, so creating groups, organizations, users, tickets and articles is possible without custom code. Your team writes a script or integration that reads the source export and posts objects in dependency order. Confirm object-level behavior, such as how articles attach to tickets and which fields are required, against the API introduction before you design the mapping.

REST API introduction

Token, basic and OAuth2 authentication

The API supports HTTP token authentication, basic authentication and OAuth2. Access tokens are the usual choice for a scripted import because they can be scoped, rotated and revoked without a password. Decide the token owner and its permissions before the run, record who created it, and delete it after cutover so the import credential does not remain as a standing admin path.

Acting on behalf of users

The API lets calls be made on behalf of other users. This matters for history: tickets and articles created by the import can be attributed to the original agent or customer rather than to the integration account. Confirm that the token owner has the rights needed for each on-behalf-of call, and test attribution on a copy, because a wrong user on hundreds of articles is hard to correct after go-live.

Custom development as the fallback

When the API cannot express a source object, such as a custom field with no equivalent, a non-standard ticket state history or a large attachment set, the documented fallback is custom development from Zammad. Budget for that as a separate scope with its own testing, because it adds code you must maintain through upgrades. Ask for a written list of unmapped fields before you agree that the API alone is sufficient.

Testing on a copy first

Run every import against a restored copy of the target instance, not the production database. Check counts per object type, sample tickets across old and new dates, attachment integrity and on-behalf-of attribution. Keep the script under version control so a repeat run is identical, and record which source export each test used so the final run can be traced back to it.

Mapping groups, organizations and users before writing tickets

Write the Zammad side in a fixed order: groups and organizations first, then users with their roles, then tickets and articles. Tickets reference a group, an customer and optionally an organization, so creating them before those objects exist forces placeholder records that are hard to clean up later. Build a mapping table before any write call. For each source group, organization, agent and customer, store the source system's identifier next to the Zammad object ID returned by the API, and keep that table in a database or file you control, not in a spreadsheet edited by hand. The stored source identifier is what makes reruns idempotent: before creating a record, the importer looks it up by its source ID and updates or skips it instead of duplicating it. Confirm during the test on a copy that a second run creates no new users, organizations or tickets.

Acting on behalf of users keeps ticket history honest. The Zammad REST API supports token authentication and lets calls be made on behalf of other users, so an article written by a former agent can be created under that agent's identity rather than under the import account. Decide up front which identity owns each historical write, and confirm with your security team that the import token's permissions are scoped to the import and revoked afterward. Note that the original timestamps on tickets and articles may need a separate decision, since the API accepts what the importer sends but the record's history should be checked on the copy.

Agents must not be re-created as customers. A former staff member who also appears in the source as a requester is a common collision, and a naive import creates a second identity with the same email address. Match agents first by a stable key such as work email, flag any source record that is both an agent and a requester for manual review, and assign the agent role in Zammad before the customer pass runs. Confirm with the identity owner how returning staff and shared mailboxes will be handled, since these cases decide whether an email address maps to one user or several.

How the import runs from inventory to decommission

The sequence moves data from an unsupported helpdesk into Zammad in controlled stages, so each mapping, script and cutover decision is proven on a copy before anyone depends on the new system. Each stage ends with a sign-off that the next one needs.

  1. Inventory source data and integrations

    Your team lists every object the old helpdesk holds: tickets, articles, attachments, groups, organizations, users, custom fields, states, priorities, macros, SLAs and scheduled jobs. The list also covers every system that talks to the helpdesk, such as email inboxes, web forms, monitoring alerts, directory sync and telephony, because each one needs a decision about what happens to it in Zammad. Done when the inventory is reviewed by the people who own the source system and each integration has a named owner and a keep, replace or retire decision.

  2. Sign off the field and object mapping

    The team maps source groups, organizations, users, states and priorities to Zammad groups, organizations, roles, ticket states and priorities, and records where a value has no equivalent. Customer and agent identities, email address uniqueness and how closed history is represented are decided here. Done when the mapping document is signed off by the support lead and the data owner, and every unmapped value has a written decision.

  3. Build the import script against a test instance

    Engineers write the script that reads the source export or API and calls the Zammad REST API to create groups, organizations, users, tickets and articles, using an access token scoped to the import. The script records a mapping of source IDs to Zammad IDs so reruns can detect existing records. It runs first against an empty test instance, not production. Done when a small sample of tickets with attachments and multi-article threads appears correctly in the test UI.

  4. Run repeated trial imports on a copy of the source

    The team takes a copy of the source data and runs the full import into a fresh Zammad test instance, then repeats it from a clean state each time the mapping or script changes. Each run is checked with counts per object type, sampled ticket reviews by agents, attachment checks and the handling of time stamps and ownership. Done when consecutive trial runs produce the same counts and the agents who review samples accept the results without open defects.

  5. Operate a parallel run with both systems live

    Both helpdesks stay in service for a period agreed in advance. New customer contact continues through the source system while the team checks that the Zammad channels, permissions, automation and SSO behave as planned for a limited group of agents. Discrepancies are logged and fixed in the script or configuration, and the import is rerun on a fresh copy. Done when the open defect list has no blocking items and the cutover owner has approved the go decision in writing.

  6. Cut over with a final delta load

    At the cutover window, inbound channels are redirected to Zammad, the source system is set to read-only, and the import script runs a delta load that picks up tickets and users changed since the last full run, using the stored ID mapping to avoid duplicates. Channel routing and agent access are verified immediately afterward. Done when the delta counts match the source change log, a sample of recent tickets is confirmed in Zammad, and new inbound messages arrive in the right place.

  7. Decommission the old helpdesk after a retention check

    Before the source system is shut down, the team confirms that required records, attachments and audit history are exported and stored under the retention rules your organization or regulator sets, and that no integration still points to the old system. Access is then removed and the platform is retired in a documented step. Done when the retention check is signed off, the retained archive has been verified as readable, and the decommission record is filed with the change owner.

How the export, transform and API load fit together

The work starts with an export from the source helpdesk into a staging store, where every source record gets a stable ID and a mapping to its future Zammad ID. A transform step turns that staging data into Zammad shapes, and the load runs through the REST API in dependency order: groups, organizations, users, then tickets and articles. Each load is checked against the test copy, and the final delta load at cutover uses the same mapping so nothing is written twice.

Export, staging, transform and API load, with validation before the cutover delta.

What makes the import larger or smaller

This table lists the factors that expand or shrink a custom import into Zammad, and whether each one is paid once or recurs. Use it to see which parts of your source system will drive the written scope and what to ask for in a quote before work starts.

DriverWhy it changes effortWhat to ask for in a quote
Custom fields and states to mapEach source field or status needs a Zammad counterpart, a decision on what to drop, and a test. Free-form fields often need a rule per value.A field-by-field mapping sheet with a named owner for each unresolved item. One-time.
Groups, queues and ownership rulesSource queues must become Zammad groups with matching agent permissions, or tickets land with no one able to see them.A group and role mapping agreed by your support lead before the first trial run. One-time.
Ticket and attachment volumeLarger histories extend API write time, attachment transfer and verification. Attachment storage must also be sized in your infrastructure.Stated ticket, article and attachment counts with total size, and the batching approach. One-time, with storage running on.
Quality of source exportsBroken encodings, missing timestamps, orphaned replies and truncated attachments all add cleaning and exception handling before any write.A sample export review listing known defects and how each is handled or excluded. One-time.
Duplicate users and organizationsSame person under two emails, or one company under several names, creates duplicate accounts and split ticket history unless merged by rule.A deduplication rule, the merge approval step and who signs off on exceptions. One-time.
History and timestamp fidelityCreation and update times, article order and agent attribution must be written through the API. Matching original times may need extra logic and review.Written decision on which timestamps and authors are preserved, and how the test copy proves it. One-time.
Integrations to reconnectEmail inbound and outbound, web forms, chat, directory sync and monitoring links each need reconfiguration and testing after cutover. These continue to need support.A list of each integration, its owner and its cutover test. One-time setup, with ongoing upkeep.
Number of trial runs on a copyEach run on a restored copy exposes new mapping defects. The count depends on how many defects the first runs surface.A stated number of trial runs, exit criteria for the final run and what is re-tested after each fix. One-time.
Access tokens and permission scopeThe import account needs rights to create users, groups and tickets. Tokens are often broader than needed and should be rotated after the import.Token scope, storage location and revocation step in the runbook. One-time, with periodic review.

What usually goes wrong in API-based helpdesk imports

API imports into Zammad fail in predictable places: identity, content fidelity, time, permissions, login and mapping. Each card below names one failure and the check that prevents it before the cutover run.

Duplicate customers from email addresses

Zammad matches customers largely by email address, so a source system with shared mailboxes, typos or several accounts per person can create duplicate customers or merge unrelated people. Before writing any ticket, export a list of duplicate and shared addresses from the source and decide which ones map to one customer, which to an organization, and which to a group inbox. Run the import against the copy and count customers per address before anything goes live.

Lost or flattened attachments

Attachments are the most likely content to disappear, arrive under the wrong article, or lose their original filenames and mime types when uploaded through a script. Confirm how the API call you write attaches files to an article, then compare file counts and checksums per ticket between source and target. Large attachments can also hit size limits in the web server or proxy, so test the largest files in your history explicitly.

Wrong ticket timestamps

Ticket and article creation times are easy to overwrite with the import time, and time zone conversion errors shift every event by hours. Agents then see tickets that appear to be answered before they were opened, which breaks SLA and reporting history. Set source timestamps explicitly where the API allows it, store the original value in a ticket or article field if it does not, and spot-check tickets from several time zones on the copy.

Agents acting without correct permissions

The Zammad REST API can run calls on behalf of other users, which is how historical articles can be attributed to the right agent. If the integration token belongs to an administrator, every imported action runs with admin rights and the audit trail shows the wrong actor. Create a dedicated import user with the minimum group access it needs, use it for the run, and confirm that article authors match the source agents on the copy.

Zammad REST API docs

Customer password and login gaps

Source password hashes rarely carry over into Zammad, so customers and agents may arrive with no usable login. Decide before the cutover whether customers sign in through email, a web portal reset, or a configured identity provider, and whether that path works for every imported customer. Test a sample login for an agent and a customer on the copy, and send a short notice explaining the first sign-in step.

Unmapped states, priorities and cutover without a delta

Source statuses and priorities without an equivalent in Zammad can be dropped or forced onto a default value, which changes which tickets appear in agent queues. Also, a single cutover run with no tested delta means tickets created after the last test are either missing or duplicated. Write the state and priority mapping as a reviewed table, rerun the full import on a fresh copy, and plan a final incremental run with a clear freeze point for the source.

Questions teams ask before importing without a migrator

Can our own team import tickets into Zammad without a built-in migrator?

Yes, if you have engineers who can read the source system's data and write against the Zammad REST API, and enough time to test on a copy. Zammad documents the API as able to perform the same operations as the UI, with HTTP token authentication, basic authentication and OAuth2, so the technical path is open to any team. The harder part is judgment: deciding how old groups, organizations and users map onto Zammad's model, and how to handle attachments, states and history that the source system stores differently. Teams that have done a similar import before, or that have a clear mapping document signed off by the business, tend to finish with fewer rework cycles. Ask whether your team has someone who has written and debugged an API import script before the project starts.

What drives the effort and cost of an API import?

The main drivers are the shape of the source data and how much of it must survive the move. Effort rises with the number of ticket fields that need mapping, the depth of article and attachment history, the number of custom fields and states, and how many distinct groups, organizations and user roles exist. Data quality matters too: duplicate users, inconsistent email addresses and orphaned tickets all add cleaning work before anything is written. The cost is mostly labor, because Zammad itself has no license fee when self-hosted, so the quote is for analysis, script development, test runs, cutover support and documentation. Ask any provider to break the work into discovery, mapping, build, test imports and cutover, with a separate line for each.

What do we need to provide from our own staff?

The import needs four things from your side: read access to the source system or an export of it, an administrator in Zammad who can create groups, roles and API tokens, a named owner who can sign off on mappings, and a test environment. Source access matters most early, because the mapping can only be designed against real records, including edge cases such as merged tickets, deleted users and long threads. The sign-off owner should approve decisions such as which closed tickets to keep, how to map agents to groups and whether customer contact details are copied as-is. Without these inputs, the project stalls at discovery. Confirm the names and time commitments for each role in the written scope.

Do we need a parallel run before switching to Zammad?

A parallel run is worth planning, but it is not automatic. Running both helpdesks at once means new tickets land in one system while historical data is copied into the other, so you need a rule for which system is authoritative and a way to reconcile changes made during the overlap. For a single cutover, the usual approach is a full test import on a copy, a freeze on the source system, one final incremental load and a short verification window. Some teams prefer a delta load that runs repeatedly until cutover, which needs an idempotent script that can detect records already imported. Decide this with your support leads early, because it changes the script design and the cutover plan.

How should customers log in after the tickets move?

Customers and agents need a login path that works on day one, which is a separate decision from the import itself. Zammad supports third-party login through SAML, OpenID Connect, Microsoft, Google, GitHub and GitLab, among other providers, so you can connect your identity provider where it fits your policy. Imported customer accounts may need a password reset or a one-time login link, and you should confirm which method your Zammad version and configuration support before promising a process to customers. Communicate the change in advance, and test sign-in for a sample of real customer and agent accounts on the copy. Do not assume that existing passwords from the old helpdesk can be carried over.

What should a quote for an API import include?

A useful quote lists the written scope, the source systems and record counts you provided, and the deliverables. Expect it to name the discovery and mapping work, the import scripts and their tests, the number of test imports on a copy, the cutover plan and rollback steps, post-import verification, and handover documentation. It should state what is excluded, such as custom development in the source system, third-party integrations, or ongoing Zammad support. Ask how the provider will handle changes to scope found during discovery, and whether the quote covers retesting after mapping changes. Compare quotes on those items rather than on a single total.

Does a Zammad support subscription cover a custom import?

Usually not. Zammad sells self-hosted support subscriptions named Business, Enterprise and Corporation, and these carry defined response times, which are 6 hours, 4 hours and 2 hours respectively according to the Zammad pricing page. Those subscriptions cover product support for Zammad itself, not the design and execution of a custom data import from another system. Ask the vendor in writing what their support covers, and budget the import as a separate piece of work. Also confirm whether any support term applies to scripts you write against the API.

How DeployOpen scopes and delivers an API-based helpdesk import

DeployOpen scopes an API-based import as a fixed-scope engagement, with the written scope agreed before any data moves. The scope names the source objects to be carried over (groups, organizations, users, tickets and articles, plus attachments if they are in play), records each mapping decision in writing, and sets the test copies, the parallel run and the cutover steps. Deliverables such as the mapping specification, the import tooling, the test reports and the cutover runbook are listed in the same document, along with the timelines agreed for each. Nothing is scheduled on a timeline until the client has signed off on the scope.

Delivery happens inside your infrastructure. DeployOpen deploys and hardens the Zammad instance in your cloud accounts, data centers or restricted networks, and the import runs against a test copy first so that mapping gaps surface before any production write. The written scope should ask for who holds the API token, which service account the import uses, where the source export is stored during the work and how that data is deleted afterward. Confirm these points with your security team before the first test run, because they determine which access controls and logging the engagement must cover.

DeployOpen does not publish a price list. A quote follows from the written scope, so the inputs that move it are the number of source objects, how many mapping rules need custom logic, the number of test cycles, whether a parallel run is required and the hardening work on the target. When you request a quote, ask for each deliverable and its acceptance check to be listed separately, and ask which costs are one-time (build, testing, cutover) and which recur (ongoing support or retainer, if you choose one).

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.