[rt-users] Costum Condition AdminCC Notification

Ruslan Zakirov ruz at bestpractical.com
Fri Sep 9 06:30:50 EDT 2011


Hi,

On Create, but creator is not owner:

my $txn = self->TransactionObj;
return 0 unless $txn->Type eq 'Create';
return 0 if $txn->Creator == $self->TicketObj->Owner;
return 1;


On Fri, Sep 9, 2011 at 1:08 PM, Christian Bauer <sales at rise-against.eu> wrote:
> Hello there.
>
>
>
> Maybe you can help me with this issue.
>
> I want RT only to send AdminCC Notifications on ticket create if the client
> is not equal to the owner.
>
>
>
> I need it because, if an admin creates a ticket on his own behalf, the other
> admins should not be  notified.
>
>
>
> Thank you in advance
>
>
>
> Cheers
>
> Chris
>
>
>
> --------
> RT Training Sessions (http://bestpractical.com/services/training.html)
> *  Chicago, IL, USA — September 26 & 27, 2011
> *  San Francisco, CA, USA — October 18 & 19, 2011
> *  Washington DC, USA — October 31 & November 1, 2011
> *  Melbourne VIC, Australia — November 28 & 29, 2011
> *  Barcelona, Spain — November 28 & 29, 2011
>



-- 
Best regards, Ruslan.



More information about the rt-users mailing list