Re: [rt-users] very simple (and possibly dumb) question, correspondence subject.

2009-07-07 Thread Agnislav Onufrijchuk
Tim Mitchell wrote:
 >
 >
 > Subject line on emails to everyone contains the FQDN + ticket number + 
 > ticket 
subject.
I doubt in FQDN. AFAIK text before ticket number in subject is set per queue in 
"Subject Tag" input field. In case when "Subject Tag" is empty, the text is 
being got from $rtname variable in RT_SiteConfig.pm

 > I'd like to change that to RT-PS + ticket number + ticket subject.
I don't know what is RT-PS. Please, clarify.


-- 
Agnislav Onufrijchuk
PortaOne, Inc., RT Developer
Tel: +1-866-SIP VOIP (+1 866 747 8647) ext. 7670

   Meet us at ITEXPO West 2009
   September 2-3, Booth 427
   Los Angeles Convention Center
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Apache won't start after upgrade to 3.8.4

2009-07-07 Thread Jason Heideloff
Thank you.  This solved my problem.

-Jason

On Jul 7, 2009, at 1:34 PM, Karl Boyken wrote:

> Some or all of your RT tables are using the MyISAM engine, but  
> beginning with RT 3.8.3, RT checks to make sure that your tables are  
> using InnoDB.  You'll need to convert your MyISAM tables to InnoDB.   
> In mysql, do:
>
> USE rt3;
> SHOW TABLE STATUS;
>
> Note which tables are using MyISAM, and for each table ,  
> in mysql, do:
>
> ALTER TABLE  ENGINE=INNODB;
>
> After you've done this, your 3.8.4 installation should run.
>
> Karl Boyken
>
>> I've run a couple of test RT upgrades from 3.8.0 to 3.8.4 but I  
>> continue to
>> get the following error message when I attempt to start Apache:
>> RT requires that all its tables be of InnoDB type. Upgrade RT  
>> tables. at
>> /opt/rt-3.8.4-dev/bin/webmux.pl line 116.\nCompilation failed in  
>> require at
>> (eval 2) line 1.\n
>> Both test and production databases are running on MySQL 5.0.45.   
>> I've been
>> running RT 3.8.0 for quite sometime using this version of MySQL.   
>> Commenting
>> out line 116 allows me to successfully start Apache but I'm not  
>> sure if
>> there are any consequences to doing this.
>> Line 116 of webmux.pl:
>> die $msg unless $status;
>> Any help would be greatly appreciated.
>> Thanks.
>
> -- 
> Karl Boyken, system administrator karl-boy...@uiowa.edu
> 303A MLH, Dept. of Comp. Sci. http://www.cs.uiowa.edu/~boyken/
> The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice)  
> 319-335-3668 (fax)
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Khusro Jaleel
* Ken Crocker (kfcroc...@lbl.gov) wrote:
> Khusro,
>
> My mistake. I thought you had said you already had code similar to what  
> I sent you. What you just sent looks a lot like my code. At this point,  
> I have no idea why your not getting a comment as ours works quite well.  
> Unless, of course, we are missing the obvious, which is "Is someone  
> actually entering a comment when they Resolve the ticket"? Sorry I can't  
> help.

Many thanks for your help, Ken. I'll keep trying...
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] CustomField questions

2009-07-07 Thread Ruslan Zakirov
http://search.cpan.org/~ruz/RT-Extension-CustomField-Checkbox-0.01/

On Tue, Jul 7, 2009 at 11:47 PM, Duncan Hutty wrote:
> Ruslan Zakirov wrote:
>>
>> On Thu, Jul 2, 2009 at 9:19 PM, Duncan Hutty wrote:
>>>
>>> RT-3.8.4:
>>> 1) Can I specify a custom field that is merely a checkbox?
>>
>> RT-Extension-CustomField-Checkbox, on the cpan will be soon. Or fetch
>> it from github.
>
> Sounds great!
>
> But, if I search for that string on github.com, nothing comes up.
> If I browse the user 'bestpractical', I see nothing about checkbox
> customfields.
>
>
> --
> Duncan Hutty
> System Administrator, ECE
> Carnegie Mellon University
>
> Please use informative subject lines
>



-- 
Best regards, Ruslan.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] CustomField questions

2009-07-07 Thread Duncan Hutty
Ruslan Zakirov wrote:
> On Thu, Jul 2, 2009 at 9:19 PM, Duncan Hutty wrote:
>> RT-3.8.4:
>> 1) Can I specify a custom field that is merely a checkbox?
> 
> RT-Extension-CustomField-Checkbox, on the cpan will be soon. Or fetch
> it from github.

Sounds great!

But, if I search for that string on github.com, nothing comes up.
If I browse the user 'bestpractical', I see nothing about checkbox 
customfields.


-- 
Duncan Hutty
System Administrator, ECE
Carnegie Mellon University

Please use informative subject lines
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] very simple (and possibly dumb) question, correspondence subject.

2009-07-07 Thread Tim Mitchell
Subject line on emails to everyone contains the FQDN + ticket number +
ticket subject. I'd like to change that to RT-PS + ticket number + ticket
subject. I've looked in my "spare time" but I haven't been able to find a
setting or config file. It looks like it may need to be scripted to strip
off what I do not want on send, is that correct? Sorry if this is covered in
some very obvious manual.

-- 
Thanks,
-TM
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Apache won't start after upgrade to 3.8.4

2009-07-07 Thread Karl Boyken
Some or all of your RT tables are using the MyISAM engine, but beginning 
with RT 3.8.3, RT checks to make sure that your tables are using InnoDB. 
 You'll need to convert your MyISAM tables to InnoDB.  In mysql, do:


USE rt3;
SHOW TABLE STATUS;

Note which tables are using MyISAM, and for each table , in 
mysql, do:


ALTER TABLE  ENGINE=INNODB;

After you've done this, your 3.8.4 installation should run.

Karl Boyken


I've run a couple of test RT upgrades from 3.8.0 to 3.8.4 but I continue to
get the following error message when I attempt to start Apache:
RT requires that all its tables be of InnoDB type. Upgrade RT tables. at
/opt/rt-3.8.4-dev/bin/webmux.pl line 116.\nCompilation failed in require at
(eval 2) line 1.\n

Both test and production databases are running on MySQL 5.0.45.  I've been
running RT 3.8.0 for quite sometime using this version of MySQL.  Commenting
out line 116 allows me to successfully start Apache but I'm not sure if
there are any consequences to doing this.

Line 116 of webmux.pl:
die $msg unless $status;

Any help would be greatly appreciated.

Thanks.


--
Karl Boyken, system administrator 
karl-boy...@uiowa.edu
303A MLH, Dept. of Comp. Sci. 
http://www.cs.uiowa.edu/~boyken/
The U. of Iowa, Iowa City, IA  52242   319-335-2730 (voice) 
319-335-3668 (fax)


smime.p7s
Description: S/MIME Cryptographic Signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Ken Crocker
Khusro,

My mistake. I thought you had said you already had code similar to what 
I sent you. What you just sent looks a lot like my code. At this point, 
I have no idea why your not getting a comment as ours works quite well. 
Unless, of course, we are missing the obvious, which is "Is someone 
actually entering a comment when they Resolve the ticket"? Sorry I can't 
help.

Kenn
LBNL

On 7/7/2009 11:06 AM, Khusro Jaleel wrote:
> Ken Crocker wrote:
>> Khusro,
>>
>> Must be your code. Can you send it?
>
> It's just the following, in a new template:
>
> ===
>  
>
> According to our records, your request has been resolved. If you have 
> any further questions, please respond to this message.
> ---
>  
>
> Resolution comment:
> {
>  my $Resolution_Comment;
>  my $Transactions;
>  my $CommentObj;
>
>  $Transactions = $Ticket->Transactions;
>  $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' );
>  $Transactions->OrderByCols(
>  { FIELD => 'Created',  ORDER => 'DESC' },
>  { FIELD => 'id', ORDER => 'DESC' },
>  );
>
>  $CommentObj = $Transactions->First;
>
>  if  ($CommentObj && $CommentObj->id)
>  {
>   $Resolution_Comment = $CommentObj->Content;
>  }
>  else
>  {
>   $Resolution_Comment = "No comment."
>  }
>
>  return $Resolution_Comment;
> }
> ---
>  
>
> ===
>  
>
>
>
>
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Correct way of specifing multiple groups to authenticate in RT::Authen::ExternalAuth

2009-07-07 Thread Kevin Gagel
I have multiple groups I wish to specify in myRT::Authen::ExternalAuth 
configuration. How do I specify more than a single group?

Kevin W. Gagel
Network Administrator
Local 5448
My blog:
http://mail.cnc.bc.ca/blogs/gagel
My shared files:
http://mail.cnc.bc.ca/users/gagel



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Khusro Jaleel
Ken Crocker wrote:
> Khusro,
> 
> Must be your code. Can you send it?

It's just the following, in a new template:

===
According to our records, your request has been resolved. If you have 
any further questions, please respond to this message.
---
Resolution comment:
 {
  my $Resolution_Comment;
  my $Transactions;
  my $CommentObj;

  $Transactions = $Ticket->Transactions;
  $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' );
  $Transactions->OrderByCols(
  { FIELD => 'Created',  ORDER => 'DESC' },
  { FIELD => 'id', ORDER => 'DESC' },
  );

  $CommentObj = $Transactions->First;

  if  ($CommentObj && $CommentObj->id)
  {
   $Resolution_Comment = $CommentObj->Content;
  }
  else
  {
   $Resolution_Comment = "No comment."
  }

  return $Resolution_Comment;
 }
---
===


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Ken Crocker

Khusro,

Must be your code. Can you send it?

Kenn
LBNL

On 7/7/2009 10:48 AM, Khusro Jaleel wrote:

Ken Crocker wrote:
  

Khusro,

The "Notify AdminCcs as Comment" won't send out an email. At least that 
is my understanding. So, if I'm right, some other scrip is sending out 
the email and therefore your new template is probably NOT being used. Of 



Thanks for the quick response, Ken. I have actually gone into the global 
settings and set 'Stage = Disabled' globally for the On Resolve script, 
and since we have other queues on this box, we know that usually on 
Resolve, nothing gets sent out.


However, I need to enable it on this one special queue, and I know that 
my template is actually working because I get the text:


Resolution Comment:
No Comment

I don't have any such text anywhere else in the system, only this queue. 
So I know the scrip and template are working, but just not seeing the 
response I typed in for some reason. The emails to the AdminCCs *are* 
being sent out, just with "No comment" in the body instead of my text.



___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


  
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Khusro Jaleel
Ken Crocker wrote:
> Khusro,
> 
> The "Notify AdminCcs as Comment" won't send out an email. At least that 
> is my understanding. So, if I'm right, some other scrip is sending out 
> the email and therefore your new template is probably NOT being used. Of 

Thanks for the quick response, Ken. I have actually gone into the global 
settings and set 'Stage = Disabled' globally for the On Resolve script, 
and since we have other queues on this box, we know that usually on 
Resolve, nothing gets sent out.

However, I need to enable it on this one special queue, and I know that 
my template is actually working because I get the text:

Resolution Comment:
No Comment

I don't have any such text anywhere else in the system, only this queue. 
So I know the scrip and template are working, but just not seeing the 
response I typed in for some reason. The emails to the AdminCCs *are* 
being sent out, just with "No comment" in the body instead of my text.


___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] RT Error

2009-07-07 Thread Hossein Rafighi
Hi,

I just upgraded my RT from 3.8.1 to 3.8.4. Attempt to restart httpd 
fails with the following error.
==> httpd/error_log <==
[Tue Jul 07 10:24:01 2009] [error] Can't locate object method "Config" 
via package "RT" at /opt/rt/default/bin/webmux.pl line 100.\nBEGIN 
failed--compilation aborted at /opt/rt/default/bin/webmux.pl line 
102.\nCompilation failed in require at (eval 210) line 1.\n
[Tue Jul 07 10:24:01 2009] [error] Can't load Perl file: 
/opt/rt/default/bin/webmux.pl for server rt.mydomain.ca:0, exiting...

Any help is greatly appreciated.

Cheers,
Hossein

-- 
  _  _   _  _   _  _   _   Hossein Rafighi
 |_   _||  _  \ |_   _|| | | || \_/ ||  __|TRIUMF, 4004 Wesbrook Mall
   | |  | |_|  )  | |  | | | || || |__ Vancouver BC, Canada, V6T 2A3
   | |  |  _  /   | |  | \_/ || \_/ ||  __|Voice: (604) 222-1047
   | |  | | \ \  _| |_ | || | | || |   Fax:   (604) 222-1074
   |_|  |_|  \_\|_| \___/ |_| |_||_|   Website: http://www.triumf.ca

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Apache won't start after upgrade to 3.8.4

2009-07-07 Thread Jason Heideloff
Yes.

On Tue, Jul 7, 2009 at 11:22 AM, Natxo Asenjo wrote:

> hi,
>
> did you follow the instructions in UPGRADING.mysql ?
> --
> Groeten,
> J.Asenjo
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Ken Crocker
Khusro,

The "Notify AdminCcs as Comment" won't send out an email. At least that 
is my understanding. So, if I'm right, some other scrip is sending out 
the email and therefore your new template is probably NOT being used. Of 
course, if I'm wrong about the "as Comment", then ignore my response.

Kenn
LBNL


On 7/7/2009 9:58 AM, Khusro Jaleel wrote:
> Ken Crocker wrote:
>> Resolution comment:
>> {
>>  my $Resolution_Comment;
>>  my $Transactions;
>>  my $CommentObj;
>>
>>  $Transactions = $Ticket->Transactions;
>>  $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' );
>>  $Transactions->OrderByCols(
>>  { FIELD => 'Created',  ORDER => 'DESC' },
>>  { FIELD => 'id', ORDER => 'DESC' },
>>  );
>>
>>  $CommentObj = $Transactions->First;
>>
>>  if  ($CommentObj && $CommentObj->id)
>>  {
>>   $Resolution_Comment = $CommentObj->Content;
>>  }
>>  else
>>  {
>>   $Resolution_Comment = "No comment."
>>  }
>>
>>  return $Resolution_Comment;
>> }
>
> I tried entering just the above into a new Template and then created a 
> Scrip that would run "On Resolve". I told the scrip to use this new 
> template, however, all I got in the end was
>
> -
> Resolution Comment:
> No comment
> -
>
> I definitely entered a few words into the body of the resolved email 
> message. So clearly I've missed something off? I have a feeling it 
> should not be $Transactions->First? Wouldn't that give you just the 
> first Transaction when we are looking for the last one?
>
> The scrip I'm using is set as "On Resolve, Notify AdminCCs as Comment, 
> Template MyNewResolvedTemplate, Stage TransactionCreate".
>
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Khusro Jaleel
Ken Crocker wrote:
> Resolution comment:
> {
>  my $Resolution_Comment;
>  my $Transactions;
>  my $CommentObj;
> 
>  $Transactions = $Ticket->Transactions;
>  $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' );
>  $Transactions->OrderByCols(
>  { FIELD => 'Created',  ORDER => 'DESC' },
>  { FIELD => 'id', ORDER => 'DESC' },
>  );
> 
>  $CommentObj = $Transactions->First;
> 
>  if  ($CommentObj && $CommentObj->id)
>  {
>   $Resolution_Comment = $CommentObj->Content;
>  }
>  else
>  {
>   $Resolution_Comment = "No comment."
>  }
> 
>  return $Resolution_Comment;
> }

I tried entering just the above into a new Template and then created a 
Scrip that would run "On Resolve". I told the scrip to use this new 
template, however, all I got in the end was

-
Resolution Comment:
No comment
-

I definitely entered a few words into the body of the resolved email 
message. So clearly I've missed something off? I have a feeling it 
should not be $Transactions->First? Wouldn't that give you just the 
first Transaction when we are looking for the last one?

The scrip I'm using is set as "On Resolve, Notify AdminCCs as Comment, 
Template MyNewResolvedTemplate, Stage TransactionCreate".
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Ken Crocker
Khusro,

You do not need a Custom Field to do this. The transaction content is 
available at "Resolve" time via a code in your template. We do this. We 
created our own "Resolve" template and deleted the delivered one. This 
is our code:
==
Subject: Request Titled: "{$Ticket->Subject}" has been Resolved!

This ticket has been resolved. DO NOT REPLY to this message!
-
TICKET INFORMATION:
Queue  : {$Ticket->QueueObj->Name}
Number : {$Ticket->Id}
Subject: {$Ticket->Subject}
Priority is: {$Ticket->Priority}
Requestor  : {$Ticket->Requestors->UserMembersObj->First->Name}
Created  by: {$Ticket->CreatorObj->Name}
Created  on: {substr($Ticket->Created, 0, 10)}
Ownedby: {$Ticket->OwnerObj->Name}
Development Started on: {substr($Ticket->Started, 0, 10)}
-
Description of Issue:
 {$Ticket->FirstCustomFieldValue('Description')}

-
Resolution comment:
 {
  my $Resolution_Comment;
  my $Transactions;
  my $CommentObj;

  $Transactions = $Ticket->Transactions;
  $Transactions->Limit( FIELD => 'Type', VALUE => 'Comment' );
  $Transactions->OrderByCols(
  { FIELD => 'Created',  ORDER => 'DESC' },
  { FIELD => 'id', ORDER => 'DESC' },
  );

  $CommentObj = $Transactions->First;

  if  ($CommentObj && $CommentObj->id)
  {
   $Resolution_Comment = $CommentObj->Content;
  }
  else
  {
   $Resolution_Comment = "No comment."
  }

  return $Resolution_Comment;
 }
-
To view ticket information, enter URL:

{$RT::WebURL}Ticket/Display.html?id={$Ticket->id}


Hope this helps.

Kenn
LBNL



On 7/7/2009 2:13 AM, Khusro Jaleel wrote:
> Hi,
>
> I'm quite new to RT and wondering how to do the following.
>
> I need to resolve a ticket when an email is sent to the queue resolve 
> address, for example, myqueue-reso...@domain.com. This is fine, and I 
> have managed to do this by adding a new 'rt-mailgate' command with an 
> action of 'resolve' to my /etc/aliases file.
>
> However, the person sending this email will include some text describing 
> the reason for resolving the ticket, among other things, and I would 
> like this text to be added to the ticket when it is resolved and I can't 
> find a way to do this.
>
> I tried creating a custom scrip with a custom template of 
> ${Transaction->Content()} or something like that, but it didn't work.
>
> Any help appreciated.
>
> Thanks,
> Khusro
> ___
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sa...@bestpractical.com
>
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
> Buy a copy at http://rtbook.bestpractical.com
>
>   
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


Re: [rt-users] Apache won't start after upgrade to 3.8.4

2009-07-07 Thread Natxo Asenjo
hi,

did you follow the instructions in UPGRADING.mysql ?
-- 
Groeten,
J.Asenjo
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Apache won't start after upgrade to 3.8.4

2009-07-07 Thread Jason Heideloff
I've run a couple of test RT upgrades from 3.8.0 to 3.8.4 but I continue to
get the following error message when I attempt to start Apache:
RT requires that all its tables be of InnoDB type. Upgrade RT tables. at
/opt/rt-3.8.4-dev/bin/webmux.pl line 116.\nCompilation failed in require at
(eval 2) line 1.\n

Both test and production databases are running on MySQL 5.0.45.  I've been
running RT 3.8.0 for quite sometime using this version of MySQL.  Commenting
out line 116 allows me to successfully start Apache but I'm not sure if
there are any consequences to doing this.

Line 116 of webmux.pl:
die $msg unless $status;

Any help would be greatly appreciated.

Thanks.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

[rt-users] Newbie: tls

2009-07-07 Thread Mauricio Tavares
 I want to put RT in the web server checking the mail
server using imap (or pop if it has to) with TLS (that is a must). Can I
do it from within the program? Last time I tried something like that, in 
OTRS (2005!), I had  to use procmail or something like that to fetch the 
mail. Also, to send mail it will also need to do some SASL auth inside TLS.

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Fwd: custom fields display through RT::Client::REST

2009-07-07 Thread khaled yousry
dear all,

I'm using RT and  RT::Client::REST::Ticket successfully to get ticket normal
fields,
but for custom fields, its not displaying them,

details:
I have a custom field "Module" that I want to display, I use the following:
---
while (my $ticket = &$iterator) {

my $cf_module= $ticket->cf(Module);


print EMAIL_FILE "",$ticket->id,""
,$ticket->subject, "", $ticket->status,"",
$cf_module,"\n";
-
$cf_module does not show anything
trying $cf_module= $ticket->cf('Module');
produce the same result.

I'm using RT 3.4.4 on ubuntu 6.06 server

appreciating your help achieving the objective of displaying ticket details
including custom fields, using the above method or any other.

best regards
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

[rt-users] Setting Dynamic Path From Code

2009-07-07 Thread Varun
Hello All

 

I have one requirement. I want to keep my login page in RT on HTTPS while
want rest of site on HTTP. So is there is any way I can set this kind of
setting in my RT code where login occurs after checking credentials. If yes
then exactly where should I put this code and which file I need to change so
that my functionality and pages doesn't gets broken and I can switch between
https and http smoothly.

 

Any help is highly appreciable

 

Thanks & Regards

Varun Vyas 

___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

[rt-users] Resolve ticket and include message body in ticket

2009-07-07 Thread Khusro Jaleel
Hi,

I'm quite new to RT and wondering how to do the following.

I need to resolve a ticket when an email is sent to the queue resolve 
address, for example, myqueue-reso...@domain.com. This is fine, and I 
have managed to do this by adding a new 'rt-mailgate' command with an 
action of 'resolve' to my /etc/aliases file.

However, the person sending this email will include some text describing 
the reason for resolving the ticket, among other things, and I would 
like this text to be added to the ticket when it is resolved and I can't 
find a way to do this.

I tried creating a custom scrip with a custom template of 
${Transaction->Content()} or something like that, but it didn't work.

Any help appreciated.

Thanks,
Khusro
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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


[rt-users] Problem in installing RT::Authen::ExternalAuth

2009-07-07 Thread Ratish Ravindran
Hi All,

I tried to install RT::Authen::ExternalAuth module ( version 0.08) for RT 
3.8.4, but during installation its giving an error as :


Cannot determine perl version info from lib/RT/Authen/ExternalAuth.pm
Checking if your kit is complete...
Looks good
Warning: prerequisite RT 0 not found.
Writing Makefile for RT::Authen::ExternalAuth
  Unsatisfied dependencies detected during  
 ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz 
RT [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] y
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'RT'

  The module RT isn't available on CPAN.

  Either the module has not yet been uploaded to CPAN, or it is
  temporary unavailable. Please contact the author to find out
  more about the status. Try 'i RT'.
Running make for Z/ZO/ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz
  Has already been unwrapped into directory 
/root/.cpan/build/RT-Authen-ExternalAuth-0.08-s0b8RW

  CPAN.pm: Going to build Z/ZO/ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz

cp lib/RT/Authen/ExternalAuth.pm blib/lib/RT/Authen/ExternalAuth.pm
cp lib/RT/Authen/ExternalAuth/LDAP.pm blib/lib/RT/Authen/ExternalAuth/LDAP.pm
cp lib/RT/User_Vendor.pm blib/lib/RT/User_Vendor.pm
cp lib/RT/Authen/ExternalAuth/DBI/Cookie.pm 
blib/lib/RT/Authen/ExternalAuth/DBI/Cookie.pm
cp lib/RT/Authen/ExternalAuth/DBI.pm blib/lib/RT/Authen/ExternalAuth/DBI.pm
Manifying blib/man3/RT::Authen::ExternalAuth.3pm
Manifying blib/man3/RT::User_Vendor.3pm
  ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz
  /usr/bin/make -- OK
Running make test
No tests defined for RT::Authen::ExternalAuth extension.
  ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz
Tests succeeded but one dependency not OK (RT)
  ZORDRAK/RT-Authen-ExternalAuth-0.08.tar.gz
  [dependencies] -- NA
Running make install
  make test had returned bad status, won't install without force


I searched for RT modules but didn't find.

Please help me to get out of this problem.

Thanks

Ratish




DISCLAIMER
==
This e-mail may contain privileged and confidential information which is the 
property of Persistent Systems Ltd. It is intended only for the use of the 
individual or entity to which it is addressed. If you are not the intended 
recipient, you are not authorized to read, retain, copy, print, distribute or 
use this message. If you have received this communication in error, please 
notify the sender and delete all copies of this message. Persistent Systems 
Ltd. does not accept any liability for virus infected mails.
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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

Re: [rt-users] WebPath problem

2009-07-07 Thread Andrea Perotti
Kevin Falcone ha scritto:
> Log in as the root user to edit the global saved search,
> which should fix it for your new users.

Thank you very much Kevin for your answer, you solved one big pita in
our current installation, and I have one ticket less in my queue ;)


cheers

-- 
Andrea Perotti
   System & Release Engineering
   mail : release_engineer...@seat.it
   Cutaway srl c/o Seat PagineGialle (MI)


smime.p7s
Description: S/MIME Cryptographic Signature
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

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


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