Delete "reminders"

Hi all and thanks in advance.

How can I delete reminders in RT 3.6.8 ?

Debian Lenny with RT working like a charm.

Thanks again.

José Gregorio.

Hi all and thanks in advance.

How can I delete reminders in RT 3.6.8 ?

Just display the related ticket, select the reminder in the reminder
"widget", click on “Save” in this widget.

You can also have more control on reminders by clicking on "Reminders"
menu link on the ticket display page.

Jose,

I had to use the following scrip in 3.6.x. In 3.8.x, I don’t believe this is
necessary.

Scrip "On Resolve"
Condition: On Resolve
Action: User-Defined
Template: Global template: Blank
Stage: TransactionBatch

Custom Action Prep Code:

Resolve all Ticket reminders when the Ticket is resolved

my $ticket = $self->TicketObj;
my $trans = $self->TransactionObj;
my $tickets = new RT::Tickets(RT->SystemUser);
my $id = $ticket->id;

if (defined($id))
{
$tickets->FromSQL(‘Type = “reminder” AND RefersTo="’.$id.’"’);

Loop thru all Reminders

 while (my $reminder = $tickets->Next) {
    $RT::Logger->info("Closing associated reminder");
    $reminder->SetStatus("resolved");
 }
}

return 1;

Custom Action Cleanup Code:
return 1;

I got this off the RT wiki. There’s a lot of neat stuff there.

Kenn
LBNL2011/3/15 José Gregorio Díaz Unda xt4mhz@yahoo.com

Hi all and thanks in advance.

How can I delete reminders in RT 3.6.8 ?

Debian Lenny with RT working like a charm.

Thanks again.

José Gregorio.

Enviado desde mi dispositivo movil BlackBerry® de Digitel.