Zammad shows the ticket hook (e.g. Ticket#
) and the ticket number in the article zoom below the ticket title - but with a space between both:
Test
Ticket# 61007 - created 01/30/2019
(I don’t know if there’s a name for this combination of ticket hook and ticket number; I’ll just call it the ticket identifier for now.)
IMO this space is wrong because when the agent now attempts to copy this ticket identifier into his clipboard, he’ll end up with something different from what Zammad actually puts into the subject (Ticket# 61007
in the clipboard vs Ticket#61007
in the subject). There’s Ctrl+Shift+. to copy the correct identifier of course, but many agents don’t know about it.
This is a problem when storing Zammad ticket identifiers in different systems; for example we use Redmine as our development bug tracker, and we’ve added a field “Zammad ticket” to our Redmine issues. I’ve configured a regex ^Ticket#(61\d{4,20})$
to match Zammad ticket identifiers (61 is the system ID) for this field. When the agent now copies the ticket identifier as displayed, Redmine won’t accept it, leading to confusion. I could allow a space here to accept both notations, but I’d rather have it consistent
Is this space intentional, or can I create a pull request to remove it?