Changing shape of ticket ID

Hi
I’m trying to find this for a while, but it seems any help or
experiences regarding this are non-existing, which I hardly believe it
could be possible nowadays :slight_smile:
I would need to change my ticket ID shape from current [rtname #0000] to
something more simple and obvious. Preferred would form would be
something like rtname-0000. That means basically same as it is, just
without [] brackets, spaces and #. Just plane rtname followed by dash
and ticket id number.
I’m sure it can be done, but no matter how much I try and search, I
don’t find way how to do it.
I would really appreciate some help and hints how to do this.

PS: I know changing this, would break all connections of new
tickets/replies to old tickets with existing tickets, but I’m fine with
that.

Thanks for help!
br,
Primoz Jeroncic
Support - IP Connectivity & Routing
Softnet d.o.o. |
Borovec 2 tel: +386 1 8100100 | The longer I run,
SI-1236 Trzin primoz(at)softnet.si | the smaller the
Slovenia http://www.softnet.si| problems become.

signature.asc (473 Bytes)

Le 16/06/2016 � 08:23, Primoz Jeroncic a �crit :

I’m sure it can be done, but no matter how much I try and search, I
don’t find way how to do it.

it can be done, but it’s a bit tricky, to do it cleanly you have to
override some methods by starting from:

grep SubjectTag lib/ -r

:wink:

PS: I know changing this, would break all connections of new
tickets/replies to old tickets with existing tickets, but I’m fine with
that.

no, you can stay backward compatible in RT::Interface::email::ParseTicketId

if it was me I would not change the default format, just allow for
incoming other formats if needed.