[SOLVED] Add Customer User on TicketCreate event

Moderator: crythias

Post Reply
tommat
Znuny newbie
Posts: 12
Joined: 05 Aug 2015, 13:08
Znuny Version: 4.0.10

[SOLVED] Add Customer User on TicketCreate event

Post by tommat »

Hello !
I'm looking for a solution how to achieve that. Is there any simple solution or I have to write a custom module for a GenericAgent ?
Last edited by tommat on 07 Aug 2015, 14:41, edited 2 times in total.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add Customer User on TicketCreate event

Post by crythias »

In what manner is a ticket created whereby one is allowed to create it without selecting a customer?
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
tommat
Znuny newbie
Posts: 12
Joined: 05 Aug 2015, 13:08
Znuny Version: 4.0.10

Re: Add Customer User on TicketCreate event

Post by tommat »

At first i want to create Customer (CustomerID) from email address and then with this information create a Customer User. The rest of information needed by OTRS will be extracted from email address.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add Customer User on TicketCreate event

Post by crythias »

Again, how are you able to create a ticket without that information?
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
tommat
Znuny newbie
Posts: 12
Joined: 05 Aug 2015, 13:08
Znuny Version: 4.0.10

Re: Add Customer User on TicketCreate event

Post by tommat »

Tickets are created from emails which are feteched from configured IMAP server and pushed to proper queue. Maybe I don't understand something, I want on TicketCreate event get email address and create user and customer user relying on this information.
I wan to have every email address from tickets created from emails in address book.
crythias
Moderator
Posts: 10169
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Add Customer User on TicketCreate event

Post by crythias »

One can't create a customer because you've received an email. One has a customer and matches the email address to the customer.

It would require programming and of course you'll have customers who want to sell you meds and late night companionship.

There are ways to mass import customer lists, though.
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
tommat
Znuny newbie
Posts: 12
Joined: 05 Aug 2015, 13:08
Znuny Version: 4.0.10

Re: Add Customer User on TicketCreate event

Post by tommat »

OK, you are right. What about feature like search box with autocomplete in input fields which require email addresses ?
Post Reply