Re: [rt-users] Adding ReplyToTicket right to Requestor on Help queue failing

2013-05-30 Thread Asif Iqbal
On Thu, May 30, 2013 at 5:51 PM, Ruslan Zakirov wrote: > You don't check any return value. > > > added the check return and did not disclose any error if (!$queue->Load( 'Help' )) { die $@; }; if (!$group->LoadSystemRoleGroup( 'Requestor' )){ die $@; }; if (!$group->PrincipalObj->GrantRight(

Re: [rt-users] Adding ReplyToTicket right to Requestor on Help queue failing

2013-05-30 Thread Ruslan Zakirov
You don't check any return value. On Fri, May 31, 2013 at 1:05 AM, Asif Iqbal wrote: > Hi All > > I am trying this and I do not the right gets added. > > use strict; > use lib '/opt/rt3/lib'; > > use RT; > use RT::Interface::CLI; > use Data::Dumper; > > RT::LoadConfig(); > RT::Init(); > > my $q

[rt-users] Adding ReplyToTicket right to Requestor on Help queue failing

2013-05-30 Thread Asif Iqbal
Hi All I am trying this and I do not the right gets added. use strict; use lib '/opt/rt3/lib'; use RT; use RT::Interface::CLI; use Data::Dumper; RT::LoadConfig(); RT::Init(); my $queue = RT::Queue->new( $RT::SystemUser ); my $group = RT::Group->new( $RT::SystemUser ); $queue->Load( 'Help' );

[rt-users] "On Steal" email causing errors

2013-05-30 Thread Cena, Stephen (ext. 300)
I have this template for when a ticket is stolen: To: { my $old_owner = RT::User->new( $self->CurrentUser ); $old_owner->Load( $Transaction->OldValue ); $old_owner->EmailAddress(); } Subject: Ticket #{ $Ticket->Id() } taken by { $Ticket->OwnerObj->Name() } A ticket you owned: { $T

Re: [rt-users] Q: RT4: adding addresses to the $RedistributeAutoGeneratedMessages list

2013-05-30 Thread Thomas Sibley
On 05/30/2013 11:59 AM, John N. wrote: > Hi all, > > I am running RT4, and am having an issue where machine generated > messages sent to RT create loops. > As per the documentation, I added > Set($RedistributeAutoGeneratedMessages, 0); in RT_SiteConfig.pm, and > this cleared up most of my problems

[rt-users] Q: RT4: adding addresses to the $RedistributeAutoGeneratedMessages list

2013-05-30 Thread John N.
Hi all, I am running RT4, and am having an issue where machine generated messages sent to RT create loops. As per the documentation, I added Set($RedistributeAutoGeneratedMessages, 0); in RT_SiteConfig.pm, and this cleared up most of my problems. Tickets created by "root@*" no longer generat

Re: [rt-users] Change "RT @ A Glance" selection criteria

2013-05-30 Thread Thomas Sibley
On 05/30/2013 12:55 AM, Danie Brink wrote: > Is it possible for us to change the SQL query that is run for the "RT at > a glance" front page that shows the last 10 unowned new tickets? With > our RT Ticket count hovering around 4million the current query performs > a complete table scan to sort the

Re: [rt-users] RT at a Glance error after upgrade from 4.011 to 4.0.12

2013-05-30 Thread Thomas Sibley
On 05/30/2013 10:52 AM, Kevin wrote: > trs, > > Your reply trigged a thought that I didn’t clear the mason cache after the > upgrades. I just cleared the cache and now it is functioning correctly. > > Thank you for taking a deeper look into this issue, please accept my apology > for the the extr

Re: [rt-users] RT at a Glance error after upgrade from 4.011 to 4.0.12

2013-05-30 Thread Kevin
trs, Your reply trigged a thought that I didn’t clear the mason cache after the upgrades. I just cleared the cache and now it is functioning correctly. Thank you for taking a deeper look into this issue, please accept my apology for the the extra hoops I put you through, I can chalk this one up

Re: [rt-users] RT behavior when CCs are present in a ticket

2013-05-30 Thread Guadagnino Cristiano
Hi Ken! - Messaggio originale - Da: k...@rice.edu Inviato: Thu May 30 2013 14:56:22 GMT+0200 (CEST) A: Guadagnino Cristiano Oggetto: Re: [rt-users] RT behavior when CCs are present in a ticket > > Hi Chris, > > RT's basic premise is that it is the issue managemen

Re: [rt-users] RT behavior when CCs are present in a ticket

2013-05-30 Thread k...@rice.edu
On Thu, May 30, 2013 at 12:04:39PM +, Guadagnino Cristiano wrote: > Hi all, > I have received a few complaints from users about a feature of RT. > After a little experimenting, I find that those complaints are partially > reasonable, so I want to share them with you and get some feedback. > >

Re: [rt-users] 1 email address to control tickets on 2 different RT Servers

2013-05-30 Thread Emmanuel Lacour
On Thu, May 30, 2013 at 05:06:36AM -0700, scott.dalzell wrote: > We currently have 2 RT servers on site, one running RT3 (ticket numbers > 1-11,000) and another running RT4 (ticket numbers 15000+). > > We are planning to phase out the RT3 machine but in the mean time I want > both RT machines to b

[rt-users] RT behavior when CCs are present in a ticket

2013-05-30 Thread Guadagnino Cristiano
Hi all, I have received a few complaints from users about a feature of RT. After a little experimenting, I find that those complaints are partially reasonable, so I want to share them with you and get some feedback. When RT receives an email that is bound to an already existing ticket, it notifi

[rt-users] 1 email address to control tickets on 2 different RT Servers

2013-05-30 Thread scott.dalzell
We currently have 2 RT servers on site, one running RT3 (ticket numbers 1-11,000) and another running RT4 (ticket numbers 15000+). We are planning to phase out the RT3 machine but in the mean time I want both RT machines to be accessed via the same email address as to hide this phase out from our

Re: [rt-users] Change "RT @ A Glance" selection criteria

2013-05-30 Thread Danie Brink
Thank you so much for your pointer. That was exactly what we were looking for ! Danie On Thu, May 30, 2013 at 10:04 AM, Emmanuel Lacour wrote: > On Thu, May 30, 2013 at 09:55:11AM +0200, Danie Brink wrote: > >Hi there RT Users List. > > > > Hi, > > >Is it possible for us to change the

Re: [rt-users] Change "RT @ A Glance" selection criteria

2013-05-30 Thread Emmanuel Lacour
On Thu, May 30, 2013 at 09:55:11AM +0200, Danie Brink wrote: >Hi there RT Users List. > Hi, >Is it possible for us to change the SQL query that is run for the "RT at a >glance" front page that shows the last 10 unowned new tickets? With our RT >Ticket count hovering around 4milli

[rt-users] Change "RT @ A Glance" selection criteria

2013-05-30 Thread Danie Brink
Hi there RT Users List. Is it possible for us to change the SQL query that is run for the "RT at a glance" front page that shows the last 10 unowned new tickets? With our RT Ticket count hovering around 4million the current query performs a complete table scan to sort the show the last 10 (filte