Re: [rt-users] Custom Fields and CommandByMail

2013-04-12 Thread Kevin Falcone
On Thu, Apr 11, 2013 at 07:28:47PM -0700, charlyc...@yahoo.com.ar wrote:
> I've been trying for a while to make work the Custom Fields with 
> CommandByMail and cannot find where the problem is.
> 
> There is a form on the support page that sends an email with this content:
> 
> Requestor: reques...@domain.com
> CF.{CustomField1}: 201
> CF.{CustomField2}: 
> CF.{CustomField3}: bbb
> CF.{Custom Field4}: ccc
> CF.{Custom Field5}: d
> CF.{Custom Field6}: TTPPEE
> THis is a test.. test test test this is a test
> 
> I granted globally to Everyone/Privileged/Unprivileged/Requestors to 
> SeeCustomField/ModifyCustomField, same for each Custom Fields and on each 
> Queue.

If these are Queue lever CFs rather than Global CFs and you are Creating
tickets rather than updating them, they may well need SeeQueue rights in
order to load the custom field.

-kevin


pgpIiC5Xi27Eo.pgp
Description: PGP signature


[rt-users] Custom Fields and CommandByMail

2013-04-11 Thread charlyc...@yahoo.com.ar
Hi all,

I've been trying for a while to make work the Custom Fields with CommandByMail 
and cannot find where the problem is.

There is a form on the support page that sends an email with this content:

Requestor: reques...@domain.com
CF.{CustomField1}: 201
CF.{CustomField2}: 
CF.{CustomField3}: bbb
CF.{Custom Field4}: ccc
CF.{Custom Field5}: d
CF.{Custom Field6}: TTPPEE
THis is a test.. test test test this is a test



I granted globally to Everyone/Privileged/Unprivileged/Requestors to 
SeeCustomField/ModifyCustomField, same for each Custom Fields and on each Queue.

I'm using rt-mailgate to download the emails and transfer them to RT, the 
tickets are create and the requestor is changed, but Custom Fields are not 
changed.

RT Version: 4.0.10 / CommandByMail: 0.10 

I tried once and below is the output of the debug log.

Thank you for your help, Charly

[Fri Apr 12 01:35:07 2013] [debug]: Converting 'iso-8859-1' to 'utf-8' for 
text/plain - Test using CF -- 9:35 (/data/rt4/sbin/../lib/RT/I18N.pm:244)
[Fri Apr 12 01:35:07 2013] [debug]: Mail from user #58 (u...@domain.com) 
(/data/rt4/sbin/../lib/RT/Interface/Email/Auth/MailFrom.pm:82)
[Fri Apr 12 01:35:07 2013] [debug]: Running CommandByMail as u...@domain.com 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:184)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: Requestor =>  
reques...@domain.com 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: CF.{CustomField1} =>  
201 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: CF.{CustomField2} =>  
 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: CF.{CustomField3} =>  
bbb 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: CF.{Custom Field4} =>  
ccc 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: CF.{Custom Field5} =>  
d 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Found pseudoheader: CF.{Custom Field6} =>  
TTPPEE 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:206)
[Fri Apr 12 01:35:07 2013] [debug]: Got command requestor => 
reques...@domain.com 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Fri Apr 12 01:35:07 2013] [debug]: Got command customfield{customfield1} => 
201 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Fri Apr 12 01:35:07 2013] [debug]: Got command customfield{customfield2} => 
 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213c
[Fri Apr 12 01:35:07 2013] [debug]: Got command customfield{customfield3} => 
bbb 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Fri Apr 12 01:35:07 2013] [debug]: Got command customfield{custom field4} => 
ccc 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Fri Apr 12 01:35:07 2013] [debug]: Got command customfield{custom field5} => 
d 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Fri Apr 12 01:35:07 2013] [debug]: Got command customfield{custom field6} => 
TTPPEE 
(/data/rt4/local/plugins/RT-Extension-CommandByMail/lib/RT/Interface/Email/Filter/TakeAction.pm:213)
[Fri Apr 12 01:35:07 2013] [debug]: About to think about scrips for transaction 
#80416 (/data/rt4/sbin/../lib/RT/Transaction.pm:173)
[Fri Apr 12 01:35:07 2013] [debug]: About to think about scrips for transaction 
#80417 (/data/rt4/sbin/../lib/RT/Transaction.pm:173)
[Fri Apr 12 01:35:07 2013] [debug]: About to think about scrips for transaction 
#80418 (/data/rt4/sbin/../lib/RT/Transaction.pm:173)
[Fri Apr 12 01:35:07 2013] [debug]: About to think about scrips for transaction 
#80419 (/data/rt4/sbin/../lib/RT/Transaction.pm:173)
[Fri Apr 12 01:35:07 2013] [debug]: About to think about scrips for transaction 
#80420 (/data/rt4/sbin/../lib/RT/Transaction.pm:173)
[Fri Apr 12 01:35:07 2013] [debug]: About to prepare scrips for transaction 
#80420 (/data/rt4/sbin/../lib/RT/Transaction.pm:177)
[Fri Apr 12 01:35:07 2013] [debug]: Found 6 scrips for TransactionCreate stage 
with applicable type(s) Create for txn #80420 on ticket #8693 
(/data/rt4/sbin/../lib/RT/Scrips.pm:377)
[Fri Apr 12 01:35:07 201