AutoFill CustomField from sender email when openning ticket

Hi,

Can someone point me to some usefull examples on how to do this. I would
like when a new ticket is created to lookup in my customers database for
the sender, then get the customer name and update the customfield value
for this ticket.

Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com

Hi,

Can someone point me to some usefull examples on how to do this. I would
like when a new ticket is created to lookup in my customers database for
the sender, then get the customer name and update the customfield value
for this ticket.

Well I have now made a scrips witch get the customer name from ticket
creator email.

I need now to search on a customfield for that custommer name, get the
id and add it as a customfieldvalue for this ticket…

Any hint for doing this?

Emmanuel Lacour ------------------------------------ Easter-eggs
44-46 rue de l’Ouest - 75014 Paris - France - M�tro Gait�
Phone: +33 (0) 1 43 35 00 37 - Fax: +33 (0) 1 41 35 00 76
mailto:elacour@easter-eggs.com - http://www.easter-eggs.com