How to use customer name for ticket number

Moderator: crythias

Locked
kp20mar
Znuny newbie
Posts: 28
Joined: 12 Dec 2011, 09:38
Znuny Version: 3.0.10

How to use customer name for ticket number

Post by kp20mar »

I want to add the customer name into ticket number? how can i do that? Pls help me!
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: How to use customer name for ticket number

Post by Wolfgangf »

you would have to modify the code which is responsible for ticketnumber generation
see /opt/otrs/Kernel/System/Ticket/Number/*.pm for existing code on

Standard code:
AutoIncrement.pm
Date.pm
DateChecksum.pm
Random.pm

Code is pretty straight forward and not a big issue to modify
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
kp20mar
Znuny newbie
Posts: 28
Joined: 12 Dec 2011, 09:38
Znuny Version: 3.0.10

Re: How to use customer name for ticket number

Post by kp20mar »

Wolfgangf wrote:you would have to modify the code which is responsible for ticketnumber generation
see /opt/otrs/Kernel/System/Ticket/Number/*.pm for existing code on

Standard code:
AutoIncrement.pm
Date.pm
DateChecksum.pm
Random.pm

Code is pretty straight forward and not a big issue to modify
Hic hic, i don't know how to coding. Pls help me! Many thanks
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: How to use customer name for ticket number

Post by Wolfgangf »

Sorry - I can't write the code for you
you could ask otrs.com to develop that for you
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