How do I export my Tickets from OTRS 5 to CSV

Moderator: crythias

Post Reply
psharer4062
Znuny newbie
Posts: 2
Joined: 25 Oct 2018, 22:54
Znuny Version: 5.x.x
Real Name: Paul
Company: Douglas Stewart

How do I export my Tickets from OTRS 5 to CSV

Post by psharer4062 »

I need to know how to export my ticket database to csv. Any and all help would be appreciated.
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: How do I export my Tickets from OTRS 5 to CSV

Post by root »

Hi Paul,

There is no builtin way in OTRS to export tickets as CVS. What's the use case?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
psharer4062
Znuny newbie
Posts: 2
Joined: 25 Oct 2018, 22:54
Znuny Version: 5.x.x
Real Name: Paul
Company: Douglas Stewart

Re: How do I export my Tickets from OTRS 5 to CSV

Post by psharer4062 »

Thanks for your response, the company I am currently working for is shifting ticketing software and needs to get all of the current database tickets from OTRS into a csv file to be able to import them to the new software.
root
Administrator
Posts: 3954
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: How do I export my Tickets from OTRS 5 to CSV

Post by root »

Hi,

This will be a challenge, think about newlines in articles, how do you like to present the unknown numbers of articles for each ticket? Any idea how the CVS should look like?

- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
christianclavet
Znuny newbie
Posts: 75
Joined: 27 Aug 2018, 13:50
Znuny Version: Community
Real Name: Christian Clavet
Company: Tact Group

Re: How do I export my Tickets from OTRS 5 to CSV

Post by christianclavet »

Hi, as mentionned there is no direct way to export the tickets in .CSV. But you could try to dump the MYSQL dB in CSV.
Found this article here:
https://www.electrictoolbox.com/using-m ... csv-files/
----------------------------------------------
OTRS Community 6.0.11
Debian 9.0

MariaDB
Post Reply