Ticketnumber length

Moderator: crythias

Locked
Linkan_00
Znuny newbie
Posts: 4
Joined: 21 Feb 2011, 11:24
Znuny Version: 3.05

Ticketnumber length

Post by Linkan_00 »

Hi!

I´m trying to shorten the default ticket number style. I tried to change the value in Sysconfig/Ticket/Core::Ticket Ticket::NumberGenerator::MinCounterSize to lower value ex. 2 (default is 5) but nothing is changeing. I have rebooted the server (2003R2 vm OTRS 3.0.5) but no luck. Any idees?

Thanks!
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Ticketnumber length

Post by yuri0001 »

This will valid for new tickets. Old tickets would stay with old ticketnumber length.
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Linkan_00
Znuny newbie
Posts: 4
Joined: 21 Feb 2011, 11:24
Znuny Version: 3.05

Re: Ticketnumber length

Post by Linkan_00 »

Nope...new tickets will not have shorter length......any other ideas?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticketnumber length

Post by jojo »

What is your Ticket# look like?
"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
Linkan_00
Znuny newbie
Posts: 4
Joined: 21 Feb 2011, 11:24
Znuny Version: 3.05

Re: Ticketnumber length

Post by Linkan_00 »

jojo wrote:What is your Ticket# look like?
Ticket#2011042610000048

I would like it to be less zeros..like this Ticket#201104261048 and maybe also remove the first 2 digits (20)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticketnumber length

Post by jojo »

this setting only will be used for the autoincrement and Date Ticket Number Generator, not for DateChecksum...
"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
Linkan_00
Znuny newbie
Posts: 4
Joined: 21 Feb 2011, 11:24
Znuny Version: 3.05

Re: Ticketnumber length

Post by Linkan_00 »

Ok! Is it possible to get DATE (MMDD) Time (HHMM) Generated (100) Example: 110427001 and how should i do?

Thanks!
nukeaut
Znuny newbie
Posts: 49
Joined: 12 Apr 2013, 12:35
Znuny Version: OTRS 3.2

Re: Ticketnumber length

Post by nukeaut »

same problem here, any solution in the last 3 years? :)
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticketnumber length

Post by jojo »

this requires development
"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
nukeaut
Znuny newbie
Posts: 49
Joined: 12 Apr 2013, 12:35
Znuny Version: OTRS 3.2

Re: Ticketnumber length

Post by nukeaut »

any more detailed hints?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Ticketnumber length

Post by jojo »

a new TicketNumberGenerator needs to be implemented, this also affects the FollowUp Mechanism to recognize own ticket numbers
"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
cryptoroot
Znuny newbie
Posts: 26
Joined: 10 Jul 2014, 19:58
Znuny Version: 4.0.3
Real Name: Jorge Rojas
Company: Instituto Costarricense de Electricidad
Location: Costa Rica

Re: Ticketnumber length

Post by cryptoroot »

Looking for a solution, I found this topic without solution. Well, I have found another with the explanation to easily change the format, just follow the instructions: viewtopic.php?f=61&t=7033

Now, I have a sort ticket # (yymmddxxx)
You do not have the required permissions to view the files attached to this post.
Locked