I am currently trying to implement a “On Resolve Forward Ticket” scrip which should automatically doing the same as the “Forward” (Ticket-)Action in the Web-User-Interface. We need this for external documentation of the history of certain tickets.
After trying but failing with different possible solutions using custom perl code in scrips and templates I am currently back to start using the following (minimal) setup:
If I Resolve a Ticket now I get the following error in the Webserver/Apache error.log :
 [Mon Sep 10 20:02:51 2018] [error]: Scrip Prepare 29 died. - Can’t call method “GetHeader” on an undefined value at /usr/share/request-tracker4/lib/RT/Action/SendForward.pm line 113.
RT version is RT 4.4.1-5 (Debian).
I also tried to kind of “re-engeneer” /ticket/Forward.html but could not find a solution for how to specify i.e. the TO: of the email to be generated.
Can anyone please help me with any examples or ideas on how to go on?
Thanks in advance and kind regards,