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.
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.
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.