CommandByEmail Set CustomField on Create

Hi All,

I am trying to create a ticket by email with various fields set.

I have set headers

X-RT-Command: CustomField{PNR}: 12345678

and the lodges show

Running CommandByMail as a@b.cm
(/var/www/xxx/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm:309)
[2482] [Sat Dec 10 17:05:33 2016] [debug]: Found pseudoheader:
CustomField{PNR} => 12345678

but it does not set the field, and no error shown.

I am sure it’s a rights issue, but i’ve set “Everyone” SeeCustomField
and ModifyCustomField at CF level and Queue level, and even global
level, but it does not get set

any hints?

w.

Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz

I found the issue is Everyone ( or the user sending the email) needs SeeQueue on the queue supplied by rt-mailgate so it can be loaded and $queue->TicketCustomFields produces a Custom Fields objects

Another thread mentions passing a queue: command in order to set cfs. But that didn’t work for me. Maybe if the user has rights to the supplied queue but no right to.change queues the same result might be achieved.

WOn December 10, 2016 8:10:14 PM EAT, Woody - Wild Thing Safaris woody@wildthingsafaris.com wrote:

Hi All,

I am trying to create a ticket by email with various fields set.

I have set headers

X-RT-Command: CustomField{PNR}: 12345678

and the lodges show

Running CommandByMail as a@b.cm
(/var/www/xxx/local/plugins/RT-Extension-CommandByMail/lib/RT/Extension/CommandByMail.pm:309)
[2482] [Sat Dec 10 17:05:33 2016] [debug]: Found pseudoheader:
CustomField{PNR} => 12345678

but it does not set the field, and no error shown.

I am sure it’s a rights issue, but i’ve set “Everyone” SeeCustomField
and ModifyCustomField at CF level and Queue level, and even global
level, but it does not get set

any hints?

w.


Richard Wood (Woody)
Managing Director
Wild Thing Safaris Ltd.

UK: 2B Habbo St, Greenwich, London
Dar es Salaam: 5 Ethan St, Mbezi beach
Arusha: 3 Ebeneezer Rd, Njiro
PO BOX 34514 DSM
Office: +255 (0) 222 617 166
Office Mobile: +255 (0) 773 503 502
Direct: +255 742 373 327
Skype: woody1tz
http://wildthingsafaris.com