Default status' for queue lists

In the Quick Search queue listing on RT at a Glance is there a way to
change the default status’ that is searched? It individually shows
new/open/stalled and the queue link itself has all three… I would like
to exclude stalled from the main link. I know I could achieve this
editing files but just wondering if there was a configuration way. Our
3.4 excluded stalled ( i don’t know if this is custom or not, I didn’t
originally set it up ).

Curtis.

Curtis -
I don’t think there’s a config option for this; it’s hardcoded into
the Quicksearch element. I needed to do something similar, but in my
case, it was adding some statuses to the quicksearch queue listing (we
use a couple of extra non-default states: pendres for ‘pending
resolution’, ‘developmt’ for escalations to Engineering, &etc.)

I ended up by copying share/html/Elements/Quicksearch to

local/html/Elements, and then editing the copy. (It’s a really simple
change, as RT customizations go.)

diff -NauBb share/html/Elements/Quicksearch local/html/Elements/Quicksearch

— share/html/Elements/Quicksearch 2008-08-15 18:53:03.000000000 -0600
+++ local/html/Elements/Quicksearch 2008-08-13 12:41:54.000000000 -0600
@@ -53,6 +53,9 @@
queue_filter => sub { $->CurrentUserHasRight(‘ShowTicket’) && !exists $unwanted->{$->Name} },
conditions => [ {cond => “Status = ‘new’”, name => loc (‘new’) },
{cond => “Status = ‘open’”, name => loc (‘open’) },

  •               {cond => "Status = 'pending'", name => loc ('pending') },
    
  •               {cond => "Status = 'developmt'", name => loc ('developmt') },
    
  •               {cond => "Status = 'pendres'", name => loc ('pendres') },
         {cond => "Status = 'stalled'", name => loc ('stalled') }] &>
    

</&>

/Ole Craig
Security Engineer
Team lead, customer support

ocraig@stillsecure.com
303-381-3802 main support line
303-381-3824 my voicemail
303-381-3880 fax

www.stillsecure.comOn Fri, 2008-08-15 at 12:23 -0400, Curtis Bruneau wrote:

In the Quick Search queue listing on RT at a Glance is there a way to
change the default status’ that is searched? It individually shows
new/open/stalled and the queue link itself has all three… I would
like
to exclude stalled from the main link. I know I could achieve this
editing files but just wondering if there was a configuration way.
Our
3.4 excluded stalled ( i don’t know if this is custom or not, I
didn’t
originally set it up ).

Ole Craig wrote:

Curtis -
I don’t think there’s a config option for this; it’s hardcoded into
the Quicksearch element. I needed to do something similar, but in my
case, it was adding some statuses to the quicksearch queue listing (we
use a couple of extra non-default states: pendres for ‘pending
resolution’, ‘developmt’ for escalations to Engineering, &etc.)

I ended up by copying share/html/Elements/Quicksearch to

local/html/Elements, and then editing the copy. (It’s a really simple
change, as RT customizations go.)

diff -NauBb share/html/Elements/Quicksearch local/html/Elements/Quicksearch

— share/html/Elements/Quicksearch 2008-08-15 18:53:03.000000000 -0600
+++ local/html/Elements/Quicksearch 2008-08-13 12:41:54.000000000 -0600
@@ -53,6 +53,9 @@
queue_filter => sub { $->CurrentUserHasRight(‘ShowTicket’) && !exists $unwanted->{$->Name} },
conditions => [ {cond => “Status = ‘new’”, name => loc (‘new’) },
{cond => “Status = ‘open’”, name => loc (‘open’) },

  •               {cond => "Status = 'pending'", name => loc ('pending') },
    
  •               {cond => "Status = 'developmt'", name => loc ('developmt') },
    
  •               {cond => "Status = 'pendres'", name => loc ('pendres') },
       {cond => "Status = 'stalled'", name => loc ('stalled') }] &>
    

</&>

/Ole Craig
Security Engineer
Team lead, customer support

ocraig@stillsecure.com
303-381-3802 main support line
303-381-3824 my voicemail
303-381-3880 fax

www.stillsecure.com

In the Quick Search queue listing on RT at a Glance is there a way to
change the default status’ that is searched? It individually shows
new/open/stalled and the queue link itself has all three… I would
like
to exclude stalled from the main link. I know I could achieve this
editing files but just wondering if there was a configuration way.
Our
3.4 excluded stalled ( i don’t know if this is custom or not, I
didn’t
originally set it up ).

Thanks yeah, I figured as much … I ended up making my own version in
local/html/Elements/QuickSummary … that’s the one I had in mind I was
able to remove the stalled from the Queue link.

% my $all_q = $queue_cond . “(Status = ‘open’ OR Status = ‘new’)”;

Curtis

Curtis Bruneau writes:

Ole Craig wrote:

Curtis -
I don’t think there’s a config option for this; it’s hardcoded into
the Quicksearch element. I needed to do something similar, but in my
case, it was adding some statuses to the quicksearch queue listing (we
use a couple of extra non-default states: pendres for ‘pending
resolution’, ‘developmt’ for escalations to Engineering, &etc.)

I ended up by copying share/html/Elements/Quicksearch to

local/html/Elements, and then editing the copy. (It’s a really simple
change, as RT customizations go.)

diff -NauBb share/html/Elements/Quicksearch local/html/Elements/Quicksearch

— share/html/Elements/Quicksearch 2008-08-15 18:53:03.000000000 -0600
+++ local/html/Elements/Quicksearch 2008-08-13 12:41:54.000000000 -0600
@@ -53,6 +53,9 @@
queue_filter => sub { $->CurrentUserHasRight(‘ShowTicket’) && !exists $unwanted->{$->Name} },
conditions => [ {cond => “Status = ‘new’”, name => loc (‘new’) },
{cond => “Status = ‘open’”, name => loc (‘open’) },

  •               {cond => "Status = 'pending'", name => loc ('pending') },
    
  •               {cond => "Status = 'developmt'", name => loc ('developmt') },
    
  •               {cond => "Status = 'pendres'", name => loc ('pendres') },
       {cond => "Status = 'stalled'", name => loc ('stalled') }] &>
    

</&>

/Ole Craig
Security Engineer
Team lead, customer support

ocraig@stillsecure.com
303-381-3802 main support line
303-381-3824 my voicemail
303-381-3880 fax

www.stillsecure.com

In the Quick Search queue listing on RT at a Glance is there a way to
change the default status’ that is searched? It individually shows
new/open/stalled and the queue link itself has all three… I would
like
to exclude stalled from the main link. I know I could achieve this
editing files but just wondering if there was a configuration way.
Our
3.4 excluded stalled ( i don’t know if this is custom or not, I
didn’t
originally set it up ).

Thanks yeah, I figured as much … I ended up making my own version in
local/html/Elements/QuickSummary … that’s the one I had in mind I was
able to remove the stalled from the Queue link.

% my $all_q = $queue_cond . “(Status = ‘open’ OR Status = ‘new’)”;

Curtis


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Sorry I meant local/html/Elements/QueueSummary

We run two instances of RT on our server (separate installation trees).
I installed my first instance and have everything up and running as it
should be including External Auth for my AD users. First instance done.
Installed second instance, RT works, cool so far. Now I want to get
External Auth working for my second instance. What would be the way to
accomplish this? I had previously installed External Auth via CPAN and
it updated some files on its own. Is there a way a “tell” the new
External Auth installation to look in my new RT installation tree?

Cheers!
Helmuth

Ok, I got it working. I don’t know if it’s the “right” way, but its
working. I just copied files from my existing installation into my new
one.

Specifically:

/opt/rt3/local/plugins/RT-Authen-ExternalAuth
/opt/rt3/local/lib/RT/Authen/ExternalAuth.pm
/opt/rt3/local/man/auto/RT/Authen/ExternalAuth
/opt/rt3/local/man/auto/RT/Authen/ExternalAuth/.packlist
/opt/rt3/local/man/man3/RT::Authen::ExternalAuth.3pm

To respective location in new tree-----Original Message-----
From: Helmuth Ramirez
Sent: Tuesday, August 19, 2008 3:29 PM
To: rt-users@lists.bestpractical.com
Subject: External Auth on Server with Multiple Instances

We run two instances of RT on our server (separate installation trees).
I installed my first instance and have everything up and running as it
should be including External Auth for my AD users. First instance done.
Installed second instance, RT works, cool so far. Now I want to get
External Auth working for my second instance. What would be the way to
accomplish this? I had previously installed External Auth via CPAN and
it updated some files on its own. Is there a way a “tell” the new
External Auth installation to look in my new RT installation tree?

Cheers!
Helmuth

Helmuth Ramirez wrote:

Ok, I got it working. I don’t know if it’s the “right” way, but its
working. I just copied files from my existing installation into my new
one.

Specifically:

/opt/rt3/local/plugins/RT-Authen-ExternalAuth
/opt/rt3/local/lib/RT/Authen/ExternalAuth.pm
/opt/rt3/local/man/auto/RT/Authen/ExternalAuth
/opt/rt3/local/man/auto/RT/Authen/ExternalAuth/.packlist
/opt/rt3/local/man/man3/RT::Authen::ExternalAuth.3pm

To respective location in new tree

Yes, that’s right. ExternalAuth isn’t installed into a system… it’s
installed into an RT installation.

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

Could enyone know how to modify queue list to show all statuses in RT 4.4.2?
In /opt/rt4/local/plugins/RT-IR/html/RTIR/Elements/QueueSummary I found:
"unless (@statuses) {
my %seen;
foreach my $set ( ‘initial’, ‘active’ ) {
foreach my $lifecycle ( map $lifecycle{$}, sort keys %lifecycle ) {
push @statuses, grep !$seen{ lc $
}++, $lifecycle->Valid($set);"
So I added inactive to $set, restarted httpd service and nothing happened.
What else should I modify to see all statuses on queue list?