Benjamin,
That was great - thanks!
Here's what I ended up using:
Condition: User Defined
Action: Send Email
Template: Added to Queue Email
Stage: TransactionCreate
Custom condition: return ( $self-TransactionObj-Type eq Create
$self-TicketObj-Owner == $RT::Nobody-Id );
I also did the same
Hi everyone,
I know there's a way to do this, but I'm still learning RT, so I don't
know exactly how to code this... I'd like to send an e-mail for a new
ticket to a group, if the owner is Nobody, and send it to the owner if
the owner is NOT Nobody. Right now I have a generic e-mail scrip...
The
Arg! This is really frustrating. Using examples found here and there, I
tried this, but it doesn't work...
---BEGIN-TEMPLATE---
{
my ($to, $for, $msg);
if ($Ticket-OwnerObj-Name eq Nobody) {
$to = [EMAIL PROTECTED];
} else {
$to = $Ticket-OwnerObj-EmailAddress;
$for = for
Hi Jean-Sebastien,
I'd use two scrips in your case.
1)
Decription: Notify Group On New Unowned Ticket
Condition: UserDefined
Action: NotifyGroup using this Extension:
http://search.cpan.org/~ruz/RT-Action-NotifyGroup/
Template: Notify Group On New Ticket
Custom Condition:
unless(