[rt-users] ExtractCustomFields for Ticket values

2015-09-01 Thread Josh Coombs
I'm working on switching from individual per Queue custom scrips in Perl to using ExtractCustomFields for populating ticket data on creation via incoming email. So far I've gotten the basics working, but I'm running into a brick wall changing the ticket owner. What we had as a scrip, pruned down

Re: [rt-users] ExtractCustomFields for Ticket values

2015-09-01 Thread Landon Stewart
Just an FYI, it might simplify things in the future if you access things as directly as possible. Some prefer to do this, some don't I guess. For Example - instead of: my $ticket = $self->TicketObj; $ticket->SetOwner($value) You might do: $self->TicketObj->SetOwner($value) Or even:

Re: [rt-users] ExtractCustomFields for Ticket values

2015-09-01 Thread Josh Coombs
Solved my own issue, I was mis-reading the error. Final solution for the postcmd: my $ticket = $self->TicketObj; $ticket->SetOwner($value)| Josh C On Tue, Sep 1, 2015 at 2:46 PM, Josh Coombs wrote: > I'm working on switching from individual per Queue custom scrips in