
Sure. Put NewTicket.pm in Kernel/System/Postmaster/ (changed line 158, added the "QueueID => $QueueID" parameter; Put AutoIncrementQueueComment.pm in Kernel/Ticket/Number. This takes the comment field of the queue, removes non A-Z chars and takes the first 5 chars (uppercase) and puts that in the ticket nr (ABCDE-123456). I used comment for this moment, since I don't know another column I could use and I don't feel like changing the DB scheme for adding another field. But you can take any field you like of course. In Config.pm add: $Self->{'Ticket::NumberGenerator'} = 'Kernel::System::Ticket::Number::AutoIncrementQueueComment'; And it should work. Since I have very little Perl experience, I might have done some things weird, or even have bugs in the code, please tell me :) Regards, Richard falko.zurell@idmedia.com wrote:
Hello Richard,
This sounds very interesting to me. Maybe you can post a patch for the changes you made on NewTicket.pm so I can rework you solution for me.
Thanks and kind regards
Falko Zurell Head of Application Management I-D Media AG Tel.: +49-30-25947-357