Import LDAP fields to Ticket fields

Moderator: crythias

Locked
leo5nidas
Znuny newbie
Posts: 40
Joined: 16 Apr 2012, 02:00
Znuny Version: 3.2.2
Real Name: Fernando Naranjo
Company: Universidad de Zaragoza

Import LDAP fields to Ticket fields

Post by leo5nidas »

Hello

I would like to ask you if it is possible to import values from LDAP client fields to ticket dynamic fields when the ticket is created. How can we get this?

Thank you in advance.

Regards
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: Import LDAP fields to Ticket fields

Post by reneeb »

That needs some programming. You can create a ticket event module that is "fired" on TicketCreate that retrieves the data from LDAP and stores them in the OTRS DB....
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Import LDAP fields to Ticket fields

Post by crythias »

You can also use javascript.
viewtopic.php?t=17735&p=69356 shows an example.
When you click on the ldap entry, it populates the appropriate dynamic field.
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
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Import LDAP fields to Ticket fields

Post by jojo »

There is also a feature add from xxx for this
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
leo5nidas
Znuny newbie
Posts: 40
Joined: 16 Apr 2012, 02:00
Znuny Version: 3.2.2
Real Name: Fernando Naranjo
Company: Universidad de Zaragoza

Re: Import LDAP fields to Ticket fields

Post by leo5nidas »

Thank you for your help. I will try what you have told me.
OTRS 3.2.2 (production/testing) on Debian 5.04 Lenny with MySQL database
Locked