Changing ticket actions

Hi all,

At the top of a ticket, there are the ticket actions you can perform
with one click… (Example: Reply | Resolve | Open | Comment …) What
file would I look at to change/add options to this list? I have tried
looking thru various files, and found nothing. It looks like it is a
callback of some sort, but I can’t find the file it gets it from. Any
help is appreciated.

Thanks,

Dave Kettmann
NetLogic

314-266-4000

/path/to/rt/share/html/Ticket/Elements/Tabs-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com [mailto:rt-users-bounces@lists.bestpractical.com]On Behalf Of Dave Kettmann
Sent: Tuesday, December 13, 2005 2:13 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] Changing ticket actions

Hi all,

At the top of a ticket, there are the ticket actions you can perform with one click… (Example: Reply | Resolve | Open | Comment …) What file would I look at to change/add options to this list? I have tried looking thru various files, and found nothing. It looks like it is a callback of some sort, but I can’t find the file it gets it from. Any help is appreciated.

Thanks,

Dave Kettmann
NetLogic
314-266-4000

Schultz, Eric wrote:

/path/to/rt/share/html/Ticket/Elements/Tabs

Dave,

FWIW, Here’s a Tab button i added to quickly do our local “SPAM” operation (delete the ticket and move it to the SPAM queue)
This is for rt-3.4.x.

saw:share# diff share/html/Ticket/Elements/Tabs rt3.site/html/Ticket/Elements/Tabs
179a180,190

RAL (BEGIN)

Add option to do a SPAM operation quickly

if ( $Ticket->CurrentUserHasRight(‘DeleteTicket’) ) {
$actions->{‘G’} = {
title => loc(‘SPAM’),
path => “Ticket/Modify.html?id=$id&Status=deleted&Queue=SPAM”
}
}

RAL (END)

–stephen
Stephen Dowdy - Systems Administrator - NCAR/RAP
303.497.2869 - sdowdy@ucar.edu - http://www.rap.ucar.edu/~sdowdy/