Greetings,
Has anyone implemented thru RT (like scrips conditions/actions) to check
for forgotten tickets (like tickets no one has taken for a day or two,
owner still nobody) and email about it? There’re some other ways to do
it, but I’d like to know if someone has done it within RT mechanism.
Thank you,
–Koji
rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users
Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
We’ve a watcher / dispatcher for each queue. If a new ticket is created, the
dispatcher is notified via email and the new and unowned ticket shows up in
a box on the home page (index.html). He dispaches the ticket to the
corresponding person / queue.
In the MyQueues box, a watcher sees all the orphaned tickets.
index.html:
…
<& /Elements/CustomHomepageHeader, %ARGS &>
<& /Elements/MyTickets &>
<& /Elements/MyQueues &>
<& /Elements/MyRequests &>
...
Elements/MyQueues:
<& /Elements/TitleBoxStart, title => “15 highest priority unclaimed tickets in
the $queueCount queue(s) I watch…” &>
% if ($queueCount > 0) {
% while (my $Ticket = $Tickets->Next) {
% }
% }
<& /Elements/TitleBoxEnd &>
<%INIT>
my $userEmail = $session{‘CurrentUser’}->EmailAddress;
my $queueCount = 0;
my $Queues = new RT::Queues($session{‘CurrentUser’});
$Queues->UnLimit();
my $Tickets = new RT::Tickets ($session{‘CurrentUser’});
$Tickets->ClearRestrictions;
$Tickets->LimitOwner(VALUE => “Nobody”);
$Tickets->LimitStatus(VALUE => “resolved”, OPERATOR => ‘!=’);
$Tickets->LimitStatus(VALUE => “dead”, OPERATOR => ‘!=’);
while (my $queue = $Queues->Next) {
my $watcherEmails = $queue->Watchers()->EmailsAsString();
next if $watcherEmails !~ /\b$userEmail/;
$queueCount++;
$Tickets->LimitQueue(VALUE => $queue->id);
}
$Tickets->OrderBy(FIELD => ‘Priority’, ORDER => ‘DESC’);
$Tickets->RowsPerPage(15);
</%INIT>
-andreas