[rt-users] scrip...

Ayan R. Kayal ayan.kayal at yale.edu
Sat Sep 29 16:34:28 EDT 2001


What's special in 2.0.8 in reference to marking a ticket resolved?
Currently, I just change the "new" to "resolved" (this is for when techs
input tickets for record-keeping purposes, rather than requestors'
requesting help)...

O-                         ~ARK

> -----Original Message-----
> From: rt-users-admin at lists.fsck.com
> [mailto:rt-users-admin at lists.fsck.com]On Behalf Of Jesse Vincent
> Sent: Saturday, September 29, 2001 3:30 AM
>
> 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?





More information about the rt-users mailing list