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
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
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@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
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);
}
}
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@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@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
-Shawn Page
bspage@unity.ncsu.edu
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@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@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users–
-Shawn Page
bspage@unity.ncsu.edu
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.
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
Doh. I’d forgotten that I actually did have the “Status” selector in 2.0.x. I was thinking about the greatly expanded web-create form that’s coming in 2.0.8.
Never mind me. I’ve had a long week.On Sat, Sep 29, 2001 at 04:34:28PM -0400, Ayan R. Kayal wrote:
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@lists.fsck.com
[mailto:rt-users-admin@lists.fsck.com]On Behalf Of Jesse Vincent
Sent: Saturday, September 29, 2001 3:30 AMWith 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?
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
http://www.bestpractical.com/products/rt – Trouble Ticketing. Free.