Help to create the custom ticket number

Moderator: crythias

Locked
meoukg
Znuny newbie
Posts: 12
Joined: 15 Nov 2013, 04:50
Znuny Version: 3.3.9
Real Name: Haley Le

Help to create the custom ticket number

Post by meoukg »

Hi All,

I'd like to customize the default ticket number with the format like below:

YYMMDDXXXX (YY: year ; MM: month ; DD: day ; XXXX: auto increment number)
Example: 1312100001 : it means the first ticket on December 10th, 2013.

Kindly help!

Thanks.
Running the OTRS Server on Windows Server 2012 R2 Standard & Microsoft SQL Server 2012 Standard
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Help to create the custom ticket number

Post by crythias »

Look at, copy, modify otrs/Kernel/System/Ticket/Number/DateChecksum.pm
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
meoukg
Znuny newbie
Posts: 12
Joined: 15 Nov 2013, 04:50
Znuny Version: 3.3.9
Real Name: Haley Le

Re: Help to create the custom ticket number

Post by meoukg »

crythias wrote:Look at, copy, modify otrs/Kernel/System/Ticket/Number/DateChecksum.pm
Thanks for your help.

But I tried to search on google to understand the content of DateChecksum, but not successful and I don't know the perl code, could you or someone help me to have the code for my ticket number format?

So many thanks.
Running the OTRS Server on Windows Server 2012 R2 Standard & Microsoft SQL Server 2012 Standard
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Help to create the custom ticket number

Post by jojo »

you should hire a developer than
"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
Locked