Infos:
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:
opened 11:46AM - 07 Apr 20 UTC
closed 08:37AM - 17 Nov 22 UTC
bug
trigger
verified
<!--
Hi there - thanks for filing an issue. Please ensure the following things … before creating an issue - thank you! 🤓
Since november 15th we handle all requests, except real bugs, at our community board.
Full explanation: https://community.zammad.org/t/major-change-regarding-github-issues-community-board/21
Please post:
- Feature requests
- Development questions
- Technical questions
on the board -> https://community.zammad.org !
If you think you hit a bug, please continue:
- Search existing issues and the CHANGELOG.md for your issue - there might be a solution already
- Make sure to use the latest version of Zammad if possible
- Add the `log/production.log` file from your system. Attention: Make sure no confidential data is in it!
- Please write the issue in english
- Don't remove the template - otherwise we will close the issue without further comments
- Ask questions about Zammad configuration and usage at our mailinglist. See: https://zammad.org/participate
Note: We always do our best. Unfortunately, sometimes there are too many requests and we can't handle everything at once. If you want to prioritize/escalate your issue, you can do so by means of a support contract (see https://zammad.com/pricing#selfhosted).
* The upper textblock will be removed automatically when you submit your issue *
-->
### Infos:
*This originally comes from the Community (https://community.zammad.org/t/no-ticket-id-displayed-in-the-mail-subject-if-there-is-no-space-in-front-of-ticket-number/4344) by user "AnnemarieBecher"*
* Used Zammad version: 3.3
* Installation method (source, package, ..): any
* Operating system: any
* Database + version: any
* Elasticsearch version: any
* Browser + version: any
### Expected behavior:
Zammad does not require spaces between variables and if it does, it will require them constantly within all interface sections.
### Actual behavior:
When creating either scheduler or trigger based mail replies, you need to add spaces in between variables within subjects, while you don't have to do that within the body.
That's not straight forward - subjects should also allow you to define variables without spaces in between - just like you can do within the body.
### Screens:


### Steps to reproduce the behavior:
* create either a scheduler or trigger that replies on a ticket by mail
* ensure to insert two variables within the subject and body - e.g.: `#{config.ticket_hook}#{ticket.number}`
* Make the scheduler or trigger fire
* check the response
Yes I'm sure this is a bug and no feature request or a general question.
However, please note that during my Test Zammad already includes the ticketnumber and hook:
system
Closed
August 5, 2020, 11:47am
3
This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.