I am trying to add a custom button to the ticket zoom view, specifically next to the blue “Update”-Button. When clicked, an email should be sent to a given address, containing every article and preferably attachement of the current ticket.
I managed to add the button to the UI in
But I fail to get any further.
I tried to call a node script on the same machine via ajax in
attribute_bar.coffe, but since node cannot listen on the same port as zammad, the Content-Security-Policy prevents a successfull call to the script.
Did I overlook something? Or is there maybe a better solution to my problem?