
Hi Wes, On Fri, Apr 25, 2003 at 06:54:17AM -0700, Wes Plate wrote:
We want ticket numbers to be as short as possible so that they don't swamp mail message Subject lines.
I agree! But I find that even "100005" is too long. "1005" (two characters shorter) would be better. I wish I knew how to make a new module, but I'm not a programmer in any way.
Ok ok, I created on: ftp://ftp.otrs.org/pub/otrs/misc/AutoIncrementShort.pm Format: <SystemID><Counter> (<Counter> is var/log/TicketCounter.log, rest it!) -=> So you can have 101 or 102 ... Copy it to Kernel/System/Ticket/Number/ and add to Kernel/Config.pm [...] $Self->{TicketNumberGenerator} = 'Kernel::System::Ticket::Number::AutoIncrementShort'; [...]
Wes Plate
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Old programmers never die. They just branch to a new address.