No ticket ID displayed in the mail subject if there is no space in front of #{ticket.number}

Infos:

  • Used Zammad version: 3.3

The following was specified in the trigger for the mail subject:

Helpsystem; (#{config.ticket_hook}#{ticket.number} - #{ticket.title})

Expected behavior:

  • Helpsystem; Ticket_12345 - This is a new ticket!

Actual behavior:

  • Helpsystem; - This is a new ticket!
    If there is no space in front of #{ticket.number}, it will not be displayed. If there is a space, everything is displayed correctly.

Steps to reproduce the behavior:

  • Create a trigger with the mail subject:

#{config.ticket_hook}#{ticket.number} - #{ticket.title}

Is this a bug or have I configured something wrong?

Looks rather like a bug, as the same configuration works just fine within trigger bodies.
I created a bug report already:

However, please note that during my Test Zammad already includes the ticketnumber and hook:
image

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.