On 6/19/13 1:00 PM, "Cena, Stephen (ext. 300)" <[email protected]> wrote:

>Ah; then it looks like it's a bug in the plug-in itself. It is in fact
>notifying the potential owners of a ticket, whether an Owner is
>specified or not. This isn't bad. I could just create a custom Template
>that would rework the email to let everyone know who has the ticket.
>
>Does anyone have a custom Scrip they use when a ticket is created, and
>no owner is specified that all potential owners get notified? I also
>need to look at the Perl modules someone recommended earlier, but I
>thought this plug-in might do the trick.



My (working) custom condition:
#######
## Custom condition for OnCreate
## Only applies if no owner is set
#######

return undef unless ( ($self->TransactionObj->Type eq "Create") &&
( $self->TicketObj->Owner == $RT::Nobody->id ) );
return 1;





Drew Barnes
Software Applications Developer
University of Cincinnati Blue Ash College
Information Technology Department

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to