Re: [rt-users] Move tickets to queue but don't allow ticket creation

2017-02-13 Thread Jeff Voskamp
On 12/02/17 07:57 AM, Keith Edmunds wrote: We have a "Triage" queue and a number of problem-type queues. Ideally, we'd like to allow tickets to only be created in the Triage queue and then be moved to the appropriate problem queue, but it appears that we need the "Create Ticket" permission on a q

[rt-users] Move tickets to queue but don't allow ticket creation

2017-02-12 Thread Keith Edmunds
We have a "Triage" queue and a number of problem-type queues. Ideally, we'd like to allow tickets to only be created in the Triage queue and then be moved to the appropriate problem queue, but it appears that we need the "Create Ticket" permission on a queue to move tickets to it. Is there any way

Re: [rt-users] Move tickets to Queue

2010-02-24 Thread Jason A. Smith
On Tue, 2010-02-23 at 14:16 +0100, polloxx wrote: > Thanks for all your suggestions. > How can I do this using Scrips, so without the need to go to /etc/aliases? I am also interested in trying to setup the same thing with a Scrip in RT. We currently have a script that runs via procmail, which loo

Re: [rt-users] Move tickets to Queue

2010-02-24 Thread polloxx
I've solved this by using procmail instead of /etc/aliases. It might not be the most elegant solution but it works for me: :0 * ^(F|f)rom.*gmail\.com | /opt/rt3/bin/rt-mailgate --queue 'Gmail' --action correspond --url http://domain.tld :0 * | /opt/rt3/bin/rt-mailgate --queue 'General' --action c

Re: [rt-users] Move tickets to Queue

2010-02-23 Thread JJussi
How about your own version of 'rt-mailgate'. Take existing rt-mailgate and add little bit code in it what selects right queue base on sender address. Then you just need that one /etc/aliases line: support:"|my-rt-mailgate --action comment --url http://domain.com/"; This is not what y

Re: [rt-users] Move tickets to Queue

2010-02-23 Thread polloxx
Thanks for all your suggestions. How can I do this using Scrips, so without the need to go to /etc/aliases? @Kevin: How do I check the return value of Setqueue? @Jerrad: We only have a limited number of customers and needed queues. On Tue, Feb 23, 2010 at 3:31 AM, Jerrad Pierce wrote: > On Mon,

Re: [rt-users] Move tickets to Queue

2010-02-22 Thread Jerrad Pierce
On Mon, Feb 22, 2010 at 16:30, Jerrad Pierce wrote: >> 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. However, if you really want to do this, and assuming you have a relatively fixed set of requestors/queues, the ea

Re: [rt-users] Move tickets to Queue

2010-02-22 Thread Jerrad Pierce
> 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. You may want to rethink this, as it seems like a really bad idea. It could potentially make the system extremely unwieldy due to the number of queues, and potential diff

Re: [rt-users] Move tickets to Queue

2010-02-22 Thread Kevin Falcone
On Mon, Feb 22, 2010 at 03:25:33PM +0100, polloxx wrote: > if ($self->TicketObj->RequestorAddresses =~ /pollo...@gmail\.com/){ > $self->TicketObj->SetQueue("Gmail"); > return(1); > } What happens when you check the return values of SetQueue? You'll get two values, a $value and a $msg if $value

Re: [rt-users] Move tickets to Queue

2010-02-22 Thread polloxx
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 wrote: > Hi! > Why you don't create "gmail" -queue email alias? > /etc/aliases > > gmail: |/opt/rt3/bin/rt-mailgate --queue

Re: [rt-users] Move tickets to Queue

2010-02-22 Thread JJussi
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 gm...@company.com, it goes automaticly to gmail -queue! On Monday, 22.

[rt-users] Move tickets to Queue

2010-02-22 Thread polloxx
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