[SOLVED] Switch customerID

Moderator: crythias

Locked
montoxic
Znuny newbie
Posts: 38
Joined: 17 Feb 2013, 19:57
Znuny Version: 3.2.9
Real Name: Jonas Lindberg
Location: Sweden

[SOLVED] Switch customerID

Post by montoxic »

Hi

I have a question regarding CustomerID and are hoping that you can help me

Today the customerID is the mail of the customer and i now want to change to use another value, for example companyname. When i change this today the old tickets, both open and closed, the customer get no permission to open the ticket in the customer portal.

So my question is this, is it possible to make this switch of customer ids? in an easy way. I read in another topic that you could use the generic agent for this, but i dont know exactly how.

I should also mention that the customer data is read from an LDAP database and OTRS 3.3.8

Regards

MonToxic
Last edited by montoxic on 15 Sep 2014, 18:28, edited 1 time in total.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Switch customerID

Post by crythias »

To retroactively change the CustomerID of tickets:

Create a new Generic Agent
Give it a Job name
Ticket Filter:
CustomerID: oldcustomerid
Ticket Action:
New customer ID: [fill in the blanks]

save/run
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
montoxic
Znuny newbie
Posts: 38
Joined: 17 Feb 2013, 19:57
Znuny Version: 3.2.9
Real Name: Jonas Lindberg
Location: Sweden

Re: Switch customerID

Post by montoxic »

Thanks, it was so easy then. So you just have to do this for each customer. Well it is really good

Thanks :)
Locked