Re: [rt-users] Change Management Multiple Owners

2014-06-26 Thread Christian Loos
Am 25.06.2014 19:11, schrieb Alex Vandiver:
 Use:
 
 AdminCc: { $group-MemberEmailAddressesAsString }

Wouldn't it be better to use the group id as AdminCc?
Group Member changes would immediately affect also the approvals and you
can avoid loading the group within the approval create template.

Chris
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] i use vim as rt client, so do you?

2014-06-26 Thread Marc Chantreux
hello, 

I wrote a vim wrapper to rt client so i can use it directly in vim  

https://github.com/eiro/vim-rt-client

which became my primary interface for RT. it's easy to send mail,
extend, sort tickets, create a set of tickets to share with other
people in a team.  

before improving this client, i would like to know if someone else
already have some related stuff to share. 

regards
-- 
Marc Chantreux
Université de Strasbourg, Direction Informatique
14 Rue René Descartes,
67084  STRASBOURG CEDEX
☎: 03.68.85.57.40
http://unistra.fr
Don't believe everything you read on the Internet
-- Abraham Lincoln
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Change Management Multiple Owners

2014-06-26 Thread Aaron McCarthy
Hi Alex,

I do apologize for replying to you directly. 

Thank you for your feedback. Greatly appreciated.

I have a simple template (one owner) and a complex template (Group AdminCc).

When I have the simple template implemented and I reveive an approval
ticket. Under status I see (/Pending Approval/). Which will in turn allow me
to approve a ticket.

When I implement the complex template and a new approval ticket arrives,
Under status I see new. I am not able to Approve the ticket.

The only difference between the two Templates is the Perl Code Snippet.

===Create-Ticket: approval
*{
my $group = RT::Groups-new(RT-SystemUser);
$group-LoadUserDefinedGroup( DL_IT_Request_Tracker_Admins );
}*
Queue: ___Approvals
Type: approval
AdminCc: { $group-MemberEmailAddressesAsString }
Depended-On-By: TOP
Subject: Approval for ticket: {$Tickets{TOP}-Id} -
{$Tickets{TOP}-Subject}
Due: {time + 86400}
Content-Type: text/plain
Content: Need your approval for ticket
{$Tickets{TOP}-Id}:{$Tickets{TOP}-Subject}

http://requesttracker.8502.n7.nabble.com/file/n57772/RT_Image.png 


Hope this gives you a bit more information on my problem.

Thanks again,

Aaron



--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Change-Management-Multiple-Owners-tp57759p57772.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


Re: [rt-users] Found (302) error

2014-06-26 Thread Boris Epstein
Hello Matt,

Thanks for your response.

This is Apache ( httpd-2.2.15-30.el6.centos.x86_64 ) running on Centos 6.5.

Cheers,

Boris.



On Wed, Jun 25, 2014 at 8:05 PM, Matt Brennan brenna...@gmail.com wrote:

 302 is a temporary redirect HTTP code.

 Which web server are you using for RT?


 On Wed, Jun 25, 2014 at 4:07 PM, Boris Epstein borepst...@gmail.com
 wrote:

 Hello all,

 I am trying to connect to an RT server and get my tickets listed but am
 getting the above error instead. I have verified that I do manage to
 connect and authenticate (see the text below; in the first instance I
 deliberately used an incorrect password):

 [bepstein@usfr-jeff ~]$ rt list
 Query:Status!='resolved' and Status!='rejected'
Strong encryption not available, switched off by externalauth=0
Password will be sent to usfr-jeff.insideidc.comrt/ unencrypted
Press CTRL-C now if you do not want to continue
 Password:
 rt: Incorrect username or password.
 [bepstein@usfr-jeff ~]$ rt list
 Query:Status!='resolved' and Status!='rejected'
Strong encryption not available, switched off by externalauth=0
Password will be sent to usfr-jeff.insideidc.comrt/ unencrypted
Press CTRL-C now if you do not want to continue
 Password:
 rt: Server error: Found (302)
 [bepstein@usfr-jeff ~]$

 Any help on this much appreciated.

 Cheers,

 Boris.

 --
 RT Training - Boston, September 9-10
 http://bestpractical.com/training



-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Found (302) error

2014-06-26 Thread Matt Brennan
My guess would be that you're using a mod_rewrite rule in your Apache
config and the RT CLI is unhappy with that.



On Thu, Jun 26, 2014 at 8:28 AM, Boris Epstein borepst...@gmail.com wrote:

 Hello Matt,

 Thanks for your response.

 This is Apache ( httpd-2.2.15-30.el6.centos.x86_64 ) running on Centos 6.5.

 Cheers,

 Boris.



 On Wed, Jun 25, 2014 at 8:05 PM, Matt Brennan brenna...@gmail.com wrote:

 302 is a temporary redirect HTTP code.

 Which web server are you using for RT?


 On Wed, Jun 25, 2014 at 4:07 PM, Boris Epstein borepst...@gmail.com
 wrote:

 Hello all,

 I am trying to connect to an RT server and get my tickets listed but am
 getting the above error instead. I have verified that I do manage to
 connect and authenticate (see the text below; in the first instance I
 deliberately used an incorrect password):

 [bepstein@usfr-jeff ~]$ rt list
 Query:Status!='resolved' and Status!='rejected'
Strong encryption not available, switched off by externalauth=0
Password will be sent to usfr-jeff.insideidc.comrt/ unencrypted
Press CTRL-C now if you do not want to continue
 Password:
 rt: Incorrect username or password.
 [bepstein@usfr-jeff ~]$ rt list
 Query:Status!='resolved' and Status!='rejected'
Strong encryption not available, switched off by externalauth=0
Password will be sent to usfr-jeff.insideidc.comrt/ unencrypted
Press CTRL-C now if you do not want to continue
 Password:
 rt: Server error: Found (302)
 [bepstein@usfr-jeff ~]$

 Any help on this much appreciated.

 Cheers,

 Boris.

 --
 RT Training - Boston, September 9-10
 http://bestpractical.com/training




-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Change Management Multiple Owners

2014-06-26 Thread Aaron McCarthy
Hi Alex,

I forgot to mention that in the logs. The error I am receiving is: 

AdminCc: Can't call method MemberEmailAddressesAsString on an undefined
value at template line 8.

At line 8 in the template is: Queue: ___Approvals

I feel that its something small I am missing





--
View this message in context: 
http://requesttracker.8502.n7.nabble.com/Change-Management-Multiple-Owners-tp57759p57775.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training


[rt-users] How to map a MySQL session ID to an user/IP

2014-06-26 Thread Francisco Amaro
Hello all,

Sorry if this was asked before, I've searched around but could not find
anything.

We have an older RT install, running 3.4.5 on Mysql 4.1.11.
Lately, there are some users running long queries (mainly some full content
searches) that bog down the machine. When that happens, we use mytop to see
the sessions and the SQL being run, but that lists a MySQL session ID, not
a particular user/IP.

We usually kill the offending session, but I would like to track down the
users, since sometimes they just keep doing it...

Is there any way we can map that particular MySQL session ID to an IP or an
RT user ?


-- 
Francisco Amaro
Email: fam...@gmail.com
-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training

Re: [rt-users] Change Management Multiple Owners

2014-06-26 Thread Alex Peters
$group doesn't remain defined across the other sets of curly braces when
defined as my.  Changing my $group to our $group should get rid of
this error.
On 27/06/2014 2:40 am, Aaron McCarthy aaron.mccar...@southwestern.ie
wrote:

 Hi Alex,

 I forgot to mention that in the logs. The error I am receiving is:

 AdminCc: Can't call method MemberEmailAddressesAsString on an undefined
 value at template line 8.

 At line 8 in the template is: Queue: ___Approvals

 I feel that its something small I am missing





 --
 View this message in context:
 http://requesttracker.8502.n7.nabble.com/Change-Management-Multiple-Owners-tp57759p57775.html
 Sent from the Request Tracker - User mailing list archive at Nabble.com.
 --
 RT Training - Boston, September 9-10
 http://bestpractical.com/training

-- 
RT Training - Boston, September 9-10
http://bestpractical.com/training