Hi Gary,
So what you want is for the owner of the ticket to be notified of _all_
transactions where the owner is not the creator of the transaction?
A scrip condition like this might do it:
{ my $Transaction = $self->TransactionObj;
my $Creator = $Transaction->CreatorObj->Id;
my $Ticket = $self->TicketObj;
my $Owner = $Ticket->Owner;
return $Creator != $Owner && $Owner > 12;
}
The "$Owner > 12" condition prevents the scrip from firing if the ticket
owner is Nobody, SystemUser, or RT's Root (at least on my 3.6.3 system).
Regards,
Gene
At 01:25 PM 7/12/2007, Gary Oberbrunner wrote:
Hi folks -- I'd like rt to notify the owner if correspondence or comments come
in, but not if the correspondence/comments are by the owner. Possible? Easy?
Actually what I'd like is if *anything* changes in the ticket and the change
is by someone else, I'd like the owner to get notified. Do I need a scrip per
change type or is there one global condition?
thanks!
--
Gene LeDuc, GSEC
Security Analyst
San Diego State University
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com