Has anyone written any kind of a guide to importing another ticket system into OTRS? Like what fields in the DB need to be filled in so a raw, imported ticket done directly to the DB shows up properly in the system. Can write the script and stuff myself, I'm just having a hard time figuring out how to get all the fields matched up and what fields I may have to fill with generic info.
Thanks!
Ticket Import from old system
Moderator: crythias
Ticket Import from old system
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Import from old system
You could use SOAP to do it. There's an api. Alternatively, if you could make emails from the tickets, you could do it that way, though open and close time won't be maintained.
Otherwise, populating ticket and ticket_history and maintaining referential integrity could be problematic.
Otherwise, populating ticket and ticket_history and maintaining referential integrity could be problematic.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Ticket Import from old system
Yeah, I'd brought up to the boss about just emailing the currently open tickets in our system over to OTRS, but he replied back about losing the original date creation times. The data integrity of doing a direct DB import was my concern too.
I don't have a whole lot of experience with SOAP api's. I found this post in the Wiki on using PHP with it:
http://wiki.otrs.org/index.php?title=Cr ... HP_via_RPC
How do you know what fields to use in the SOAP call? Can you set the date of the ticket to something other than the default one done at creation via the SOAP api to keep the original ticket creation dates?
Appreciate the help
I don't have a whole lot of experience with SOAP api's. I found this post in the Wiki on using PHP with it:
http://wiki.otrs.org/index.php?title=Cr ... HP_via_RPC
How do you know what fields to use in the SOAP call? Can you set the date of the ticket to something other than the default one done at creation via the SOAP api to keep the original ticket creation dates?
Appreciate the help
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Import from old system
No. Any transfer/creation of tickets via api will timestamp current_timestamp.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: Ticket Import from old system
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Re: Ticket Import from old system
Not that much of a perl programmer, but I'll take a look at it. I think the fact that it's not going to preserve the old ticket dates is going to bring a halt to the attempt at importing the old tickets via the API. And doing direct to the DB is just scary at this point.
Greatly appreciate your help!
Greatly appreciate your help!
OTRS 3.0.7 | Ubuntu 10.04 LTS | Postgresql 8.4.7