I would like to include a custom object from the form in the Agent Email Notification.
I have created a .custom file under the agent mailer folder which is working correctly but I have been unable to get the object to work.
I have tried adding different variables to get it to work but i have been unsuccessful.
I was unable to find the answer in the docs or in the commuity anywhere.
Im sure it is a really simple fix!
I have tried:
#{ticket.where}
#{object.where}
#{ticket.object.where}
Infos:
- Used Zammad version: 6.4.1
- Used Zammad installation type: Package?
- Operating system: Ubuntu
- Browser + version: Chrome
Expected behavior:
Added object variable to agent email notification to appear in sent emails
Actual behavior:
Variable says not allowed
Steps to reproduce the behavior:
New ticket (#{ticket.title})
Hi #{recipient.firstname},
The new ticket (#{ticket.title}) has been created by "#{current_user.longname}".
Group: #{ticket.group.name}
Owner: #{ticket.owner.fullname}
State: #{t(ticket.state.name)}
Where: #{ticket.where}
<% if @objects[:article] %>Information:<% end %>#{article.body_as_html}
I keep receiveding the below message in the emails
Where: #{ticket.where / not allowed}