[rt-users] Move tickets to Queue

polloxx polloxx at gmail.com
Mon Feb 22 09:53:01 EST 2010


We only want one helpdesk address to send to. Depending on the from
address tickets should go to the appropriate queue.


On Mon, Feb 22, 2010 at 3:40 PM, JJussi <rt-users at jjussi.com> wrote:
> Hi!
> Why you don't create "gmail" -queue email alias?
> /etc/aliases
> ============
> gmail: |/opt/rt3/bin/rt-mailgate --queue 'gmail' --action correspond --url
> http://support.company.com/"
>
> so when customer sends email to address gmail at company.com, it goes automaticly
> to gmail -queue!
>
> On Monday, 22. Februaryta 2010 16:25:33 polloxx wrote:
>
>> Dear,
>>
>> As I'm new to RT I'm trying to setup a system for our needs.
>> We want a queue for each customer. Tickets are created by email.
>> So I want to test this with my own gmail address:
>>
>> I've created a queue called 'Gmail'.
>>
>> In the General queue I've created a Scrip:
>>
>> Condition: On Create
>> Action: User defined
>> Template: Global template: Blank
>> Stage: TransactionCreate
>>
>> Custom action cleanup code:
>>
>> if ($self->TicketObj->RequestorAddresses =~ /polloxx\@gmail\.com/){
>>   $self->TicketObj->SetQueue("Gmail");
>>   return(1);
>> }
>>
>> return(undef);
>>
>> So a new created ticket should move from the 'General' to the 'Gmail'
>> queue but it doesn't. What am I doing wrong?
>>
>> Thx,
>> P.
>> _______________________________________________
>> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>>
>> Community help: http://wiki.bestpractical.com
>> Commercial support: sales at bestpractical.com
>>
>> 2010 RT Training Sessions!
>> San Francisco, CA, USA - Feb 22 & 23
>> Dublin, Ireland - Mar 15 & 16
>> Boston, MA, USA - April 5 & 6
>> Washington DC, USA - Oct 25 & 26
>>
>> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>> Buy a copy at http://rtbook.bestpractical.com
>>
>
>
> --
> JJussi
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
>
> 2010 RT Training Sessions!
> San Francisco, CA, USA - Feb 22 & 23
> Dublin, Ireland - Mar 15 & 16
> Boston, MA, USA - April 5 & 6
> Washington DC, USA - Oct 25 & 26
>
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com
>



More information about the rt-users mailing list