[SOLVED] Select Queue based on Service...

Moderator: crythias

Locked
laurie_neil
Znuny newbie
Posts: 3
Joined: 15 Aug 2011, 14:57
Znuny Version: 3
Real Name: Laurie Neil
Company: ICAS

[SOLVED] Select Queue based on Service...

Post by laurie_neil »

Firstly, MASSIVE apologies if this topic has been covered before; I've searched but cannot find any posts relating to my problem...

OK, so I have a bunch of Queues, Sub-queues and services... When a customer is creating a ticket, I want the Sub-queue it lands in to be determined by the service selected at the Service drop-down.

Now, I already have the services displayed determine by the queue using the following entries in the Config.pm file:

Code: Select all

$Self->{TicketAcl}->{'ACL-Queue-FIN'} = {
        	Properties => {
        		Frontend => {Action => ['CustomerTicketMessage']},
        		Queue    => {Name   => ['Finance']}
        	},
        	Possible  => {
        		Ticket => {
        			Service => ['[RegExp]^Finance$',
        						'[RegExp]^Finance::*']
        		}
        	},
	};	
	
	$Self->{TicketAcl}->{'ACL-Queue-A_IT'} = {
        	Properties  => {
        		Frontend => {Action =>['CustomerTicketMessage']},
				Queue    => {Name   =>['IT']},
        	},
        	Possible  => {
        		Ticket => {
        			Service => ['[RegExp]^IT*']
        		}
        	}
	};

        $Self->{TicketAcl}->{'ACL-Queue-IT_Infra'} = {
        	Properties  => {
				Frontend => {Action =>['CustomerTicketMessage']},
				Queue    => {Name   =>['IT::Infrastructure']},
        	},
        	Possible  => {
        		Ticket => {
        			Service => ['[Regex]^IT::Infrastructure::*']
				}
        	}
	}

        );
What am I missing? The last entry, I want all services containing "Infrastructure" to be sent to the IT::Infrastructure queue...

Any help/pointers would be appreciated!
Last edited by laurie_neil on 11 Jan 2012, 16:11, edited 1 time in total.
OTRS 3.0.9 Running on Ubuntu 10.04 LTS // mySQL database
laurie_neil
Znuny newbie
Posts: 3
Joined: 15 Aug 2011, 14:57
Znuny Version: 3
Real Name: Laurie Neil
Company: ICAS

Re: Select Queue based on Service...

Post by laurie_neil »

I figured out how to do this using Generic Agents; if anyone else needs to know this, get in touch!
OTRS 3.0.9 Running on Ubuntu 10.04 LTS // mySQL database
kolathaya
Znuny newbie
Posts: 5
Joined: 03 Jul 2011, 14:56
Znuny Version: 3.0.8
Real Name: Pradeep Kumar
Company: Tekslab

Re: [SOLVED] Select Queue based on Service...

Post by kolathaya »

Dear laurie_neil,

I want to know, how to bring the services into dropdown list of a ticket. I have a list of services (40), so when ever a new tickets arrives I want to select appropriate service to that ticket and save. How to do this.

thanks
Locked