[rt-users] scrip...

Jesse Vincent jesse at bestpractical.com
Sat Sep 29 03:29:49 EDT 2001


With the programmatic API, the CLI or the new UI in 2.0.8 ;)


On Fri, Sep 28, 2001 at 05:35:33PM -0400, Bryan Shawn Page wrote:
> How do you mark a ticket resolved upon creation?
> 
> Jesse Vincent wrote:
> > 
> > You'd want a similar row in the ScripConditions table to "Create"
> > but calling a Condition called "IsNotResolved" which looked something like
> > this:
> > 
> > sub IsApplicable {
> >     my $self = shift;
> >     if ($self->TicketObj->Status() ne 'resolved') {
> >         return(1);
> >     }
> >     else {
> >         return(undef);
> >     }
> > }
> > 
> > On Fri, Sep 28, 2001 at 05:16:03PM -0400, Ayan R. Kayal wrote:
> > > Any thoughts on how to write a scrip that fires when a ticket is created,
> > > but only if the ticket isn't marked resolved upon creation?
> > >
> > > O-                         ~ARK
> > >
> > >
> > > _______________________________________________
> > > rt-users mailing list
> > > rt-users at lists.fsck.com
> > > http://lists.fsck.com/mailman/listinfo/rt-users
> > >
> > 
> > --
> > http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.
> > 
> > _______________________________________________
> > rt-users mailing list
> > rt-users at lists.fsck.com
> > http://lists.fsck.com/mailman/listinfo/rt-users
> 
> -- 
> 				-Shawn Page
> 				bspage at unity.ncsu.edu
> 
> _______________________________________________
> rt-users mailing list
> rt-users at lists.fsck.com
> http://lists.fsck.com/mailman/listinfo/rt-users
> 

-- 
http://www.bestpractical.com/products/rt  -- Trouble Ticketing. Free.




More information about the rt-users mailing list