Hello List!
I am trying to make a custom scrip work.
The scrip is supposed to:
Whenever a ticket is created in the X queue and the owner is set to
“Nobody”, the scrip action will Notify AdminCcs.
This is my Scrip Condition:
if( $self->TransactionObj->Type eq ‘Create’ &&
$self->TicketObj->Owner eq ‘10’ ) {
return 1;
} else {
return undef;
}
(As in OnCreateResolved - Request Tracker Wiki)
But it is not working… I see the log, and the ScripCondition is true,
but no e-mail being sent…
Any ideas?
Thanks a lot!
Mario Gomide
$self->TicketObj->OwnerObj->Name eq 'Nobody’On 10/25/07, Mario Gomide mario.gomide@agricultura.gov.br wrote:
Hello List!
I am trying to make a custom scrip work.
The scrip is supposed to:
Whenever a ticket is created in the X queue and the owner is set to
“Nobody”, the scrip action will Notify AdminCcs.
This is my Scrip Condition:
if( $self->TransactionObj->Type eq ‘Create’ &&
$self->TicketObj->Owner eq ‘10’ ) {
return 1;
} else {
return undef;
}
(As in OnCreateResolved - Request Tracker Wiki)
But it is not working… I see the log, and the ScripCondition is true,
but no e-mail being sent…
Any ideas?
Thanks a lot!
Mario Gomide
The rt-users Archives
SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
If you sign up for a new RT support contract before December 31, we’ll
take
up to 20 percent off the price. This sale won’t last long, so get in touch
today.
Email us at sales@bestpractical.com or call us at +1 617 812 0745.
Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com
Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com