[rt-users] script troubles

SUBREDU Manuel diablo at iasi.roedu.net
Sun Aug 1 13:29:05 EDT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

~ I'm trying to create a scrip for RT 3.2.1 to automatically add an email
~ adress as AdminCC. I've tryied this:

~ new script:
~  Description: autoAddAdminCC
~  Condition:   OnCreate
~  Action:      userDefined
~  Template:    Global template: Blank
~  Stage:       TransactionCreate

~  Custom condition:  return 1;
~  Custom act. prep.: $self->TicketObj->AddWatcher( { Type => 'AdminCC',
Email => 'email at mail.ro' } );


~ When I create a new ticket, I get this in the logs


~ Aug  1 20:22:17 ltsp RT: Could not load create a user with the email
address '' to add as a watcher for ticket 1318
(/opt/rt3/lib/RT/Ticket_Overlay.pm:1514)
Aug  1 20:22:17 ltsp RT: About to commit scrips for transaction6432
Aug  1 20:22:17 ltsp RT: <rt-3.2.1-1318-6432-15.7.48231847525773 at Digital
Communications Department at Al.I.Cuza Univ> #1318/6432 - Scrip 15
(/opt/rt3/lib/RT/Action/SendEmail.pm:209)
Aug  1 20:22:17 ltsp RT: <rt-3.2.1-1318-6432-15.7.48231847525773 at Digital
Communications Department at Al.I.Cuza Univ> No recipients found. Not
sending.  (/opt/rt3/lib/RT/Action/SendEmail.pm:221)
Aug  1 20:22:17 ltsp RT: <rt-3.2.1-1318-6432-22.10.0175442869374 at Digital
Communications Department at Al.I.Cuza Univ> #1318/6432 - Scrip 22
(/opt/rt3/lib/RT/Action/SendEmail.pm:209)
Aug  1 20:22:17 ltsp RT: About to think about scrips for transaction6433
Aug  1 20:22:17 ltsp RT: <rt-3.2.1-1318-6432-22.10.0175442869374 at Digital
Communications Department at Al.I.Cuza Univ> sent To:
diablo at iasi.roedu.net Cc:  Bcc:  (/opt/rt3/lib/RT/Action/SendEmail.pm:269)
Aug  1 20:22:17 ltsp RT: Ticket 1318 created in queue 'general' by
diablo at iasi.roedu.net (/opt/rt3/lib/RT/Ticket_Overlay.pm:695)


~ Any ideeas ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBDShhNrNZEFCIDAcRAvarAKCXesdwbD/Cmwxdof8JdSNkR1NcvQCgh+Cl
YNMETvvOYh3Kfshl+bFE884=
=aEzQ
-----END PGP SIGNATURE-----



More information about the rt-users mailing list