Прескочи към главното съдържание

Migration of data from Zendesk to Deskpro

в Advanced instance setup and configuration
Списък с автори
Публикувани: 5.12.2024 г.|Последно обновено: 5.12.2024 г.

Migration of data from Zendesk to Deskpro

Warning

We highly suggest that a test migration of data is done before any work on a live instance is carried out as you will need to confirm what data has been imported and in what condition.

Deskpro has a built in tool that will allow you to migrate data from a Zendesk ticket . The migration tool will import agents, users, tickets, and created documents. The migration tool will pull everything within the date range that you within the configuration.

Warning

Currently there is not a way to split out components such as only tickets or documents, the migration tool will pull across everything it can upto the date limit provided.

The import has to be done via the CLI, the import tool is NOT available via the GUI. To preform the import you will need an email address of a Zendesk user who has admin permissions, the subdomain name that the zendesk helpdesk is using and a Zendesk API key with full permissions.

On your server enter the instance container shell

opc inst shell
copy

change to the zendesk configuration directory

cd /srv/deskpro/dpv5/app/BUILD/modules/importer-tools/importers/zendesk
copy

copy the config.dist.php file to create a new import configuration file

cp config.dist.php config.php
copy

edit the configuration file

vi /srv/deskpro/dpv5/app/BUILD/modules/importer-tools/importers/zendesk/config.php
copy

Example of a valid config file:

<?php $CONFIG = []; $CONFIG['account'] = [ 'subdomain' => 'deskpro', 'username' => 'admin@deskpro.com', 'token' => 'API KEY HERE', ]; $CONFIG['start_time'] = '-30 days'; $CONFIG['ticket_brand_field'] = null;
copy
Note

subdomain - just the domain of the zendesk instance, do not need the FQDN of it

username - email address of a user with admin rights

token - API key from Zendesk

start_time - how far back you want to import from

exit from the instance container shell

exit
copy

run the import

opc inst php -- dpv5/bin/console dp:import zendesk
copy

once complete run a verification on the data that was imported

opc inst php -- dpv5/bin/console dp:import:verify
copy

resolve any issues the verification raises

Once you are ready for the data the be added to your Deskpro database, you can do so with the following:

opc inst php -- dpv5/bin/console dp:import:apply
copy
ПолезноНе беше полезно

1 от 1 души смятат тази страница за полезна

следваща страницаUpgrade from Legacy to Horizon

Моля, логнете се или се регистрирайте, за да оставите коментар.

Раздели на страницата