[rt-users] Scrip/template "Notify parent ticket owner on resolve"?

Jeff Blaine jblaine at kickflop.net
Tue Jun 5 17:20:49 EDT 2012

That's a good start to work with.

Any leads on the proper way to go about sending mail via a template
from inside a scrip would be welcome.

Do I just subclass Action::SendEmail, build my message, and commit()
it? I don't see a way to reference/use a template for that.

     Condition: On Resolve

     Action: User-defined

     Template: ??????

     Custom condition code:


     Custom action preparation code:

         if ticket has no parents
             return 1
         # otherwise... do stuff, send email

     Custom action cleanup code:

         return 1;

More information about the rt-users mailing list