The Zammad config knows a variable called
ticket_hook_divider, which is meant to be inserted between the
ticket_hook and ticket number, but is currently not configurable from the GUI and also not used in all places where the
ticket_hook is being displayed or processed.
I have an external application that is for whatever reason unable to send mails with subjects containing the
# character, but I need it to send mails that should get added to tickets. I would love to change the
Ticket, and set the now empty
#. The existing mail subject parsing logic (in
Ticket::Number.check) currently also allows 0-2 spaces instead of the
ticket_hook_divider, so that application could just leave it out or use a space instead and everything would work fine.
My question to the devs is whether there is a reason that the divider config exists but is not properly implemented in all places and if there are any objections against fixing that.
I never really worked with Ruby and CoffeeScript, but could probably provide a crude PR for a proper implementation.