#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id} should point to the ticket.
Actual behavior:
We’re created a trigger which sends a mail in case the ticket gets closed. The mail contains a link to the zammad webgui in order to review, re-open, etc. the link is displayed properly in the mail, but the href is wrong. Here are the details:
#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id} displays the proper link but points to: #{config.http_type}://#{config.fqdn}/#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}
I analyzed app/views/mailer/ticket_update/en.html.erb and found:
<div>
<a href="#{config.http_type}://#{config.fqdn}/#ticket/zoom/#{ticket.id}" target="zammad_app">#{t('View this in Zammad')}</a>
</div>
This is exactly what I have in my trigger. When replacing the href part with my own content it started working. Only thing I recognized was that the variables did not become blue color and remained black.
When looking in more detail I saw an http and an https reference. And indeed the only change we did in the last 2 weeks was moving from http to https on nginx and adopting config.http_type to the new value.
It might be some caching or left over from the old config?
Thanks much
Hey @never,
We do have a single signature configured here where text field consists of the following:
#{user.firstname} #{user.lastname}
--
Some Company details here
--
The note field of the signature is empty.
This signature was NOT added when the trigger took action and mail was sent.
@martini
I filed github issue #2019
Out of curiosity, with browser I guess you mean the mail browser right? In my case Outlook 2016 displaying the HTML email.