[rt-users] User defined conditions

Todd Chapman rt at chaka.net
Tue Jun 29 15:45:14 EDT 2004


Your scrip will run everytime an event happens in RT on a
ticket that has the status 'resolved'. Your problem is that
you need to identify which 'event(s)' will trigger your scrip.
Status changes? New Tickets? Ticket comments?

-Todd

On Tue, Jun 29, 2004 at 03:25:13PM -0500, Philip Shon wrote:
> When does RT know when to check the user defined conditions? 
> 
> To clarify, When you select the condition "On Status Change", when the status of the ticket changes, the action is performed, (in my example case an increase in priority).
> 
> I attempted to perform a user defined condition, where the condition is when the ticket is "not resolved" below is the code I placed in the custom condition box
> 
> my $self = shift;
> my $ticket = $self->TicketObj;
> 
> if($ticket->Status ne 'resolved') {
>  return 1;
> } else {
>  return undef;
> }
> 
> 
> I leave the custom action the same, (increase the priority).
> 
> When will this scrip execute?
> 
> -Phil
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> RT Developer and Administrator training is coming to LA, DC and Frankfurt this spring and summer.
> http://bestpractical.com/services/training.html
> 
> Sign up early, as class space is limited. 




More information about the rt-users mailing list