connecting old tickets to new customer accounts

Moderator: crythias

Locked
GrendelS
Znuny newbie
Posts: 1
Joined: 24 Nov 2010, 12:00
Znuny Version: 2.4

connecting old tickets to new customer accounts

Post by GrendelS »

It’s not easy to find best practice info on OTRS. I was trying to find info about the following problem, so far to no avail:
We had customers sending in tickets without creating customer accounts for them. Thus, john@home.com would write an email, a ticket would be created and solved – over time, he’d have dozens of tickets, all of them successfully solved of course. ;-)
His customer number in the system would be john@home.com as he doesn't have a customer account. Now, we’re starting to use the web front end and for this aim we're creating customer accounts, and I thought that if I create an account for john@home.com he’d be able to login and see his former tickets. That’s not the case, unfortunately. I used his email address as customer number, but it’s not working (and of couse it's not working when I use a number as his customer number). I’m not even sure this is the way it should be done (i.e., usage of real customer numbers 1, 2, 3 etc.). How can we connect his new customer account with the tickets that were created for his email address in the past? Any help is greatly appreciated!
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: connecting old tickets to new customer accounts

Post by crythias »

Take a look at an old ticket and find out what the system assigned him as a username. Then give John that username.
If it still doesn't work, John might be able to see the old tickets in "Company Tickets" if john's current login has a Customer ID that matches the old ticket. "Company Tickets" was designed to allow people with the same "Customer ID" to see each other's tickets.

If you John has created new tickets after logging in, Generic Agent can be used to assign the old tickets with the new information if there are lots of tickets to change.
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
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: connecting old tickets to new customer accounts

Post by Wolfgangf »

I think this should be no problem as long as the e-mail address stays the same

if not: I think you could update the tickets via SQL

Code: Select all

update ticket set customer_id = x where customer_id = y
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Locked