[rt-users] Modifying Self Service GUI to show CC tickets, not just requestor tickets (3.0.2)

allen-rt-users at falconstudios.com allen-rt-users at falconstudios.com
Tue Jun 17 16:53:54 EDT 2003


Hi,

I would like the Self Service interface to show tickets that the user is CC
in addition to the tickets that they are requestor on. I have the privs set
correctly so that the user can type in the ticket number and jump to it, but
it doesn't show up in the list of tickets. The relevent bit of code appears
to be:

[html/SelfService/Elements/MyRequests]

my $MyTickets;
$MyTickets = new RT::Tickets ($session{'CurrentUser'});
$MyTickets->LimitWatcher(TYPE => 'Requestor', VALUE =>
$session{'CurrentUser'}->EmailAddress);

foreach my $status (@status) {

        $MyTickets->LimitStatus(VALUE => $status);
}

But I am unsure how to modify this to also show tickets for which this
person is a CC watcher.

Thanks!




More information about the rt-users mailing list