How to put ticket in to queue based on dynamic field rule?

Moderator: crythias

Locked
duffy
Znuny newbie
Posts: 16
Joined: 29 Nov 2011, 11:57
Znuny Version: 3.3.8
Real Name: Rado Hrabcak

How to put ticket in to queue based on dynamic field rule?

Post by duffy »

Hello,

I have a queue USA, and i have dynamic field called Sales Group, that is being filled by the script when customer user is being created (by the script).

I want all tickets created by customers users that belong to specific Sales Group (dynamic field) be created in queue USA (with specific auto reply message).

Any idea how to do it? With ACL?

Thanks in advance.

Rado
OTRS 3.3.x on Linux with PostgreSQL database and LDAP
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: How to put ticket in to queue based on dynamic field rule?

Post by crythias »

You don't. And that's the wrong way to do it.

A queue is which set of agents are eligible to support your request.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
duffy
Znuny newbie
Posts: 16
Joined: 29 Nov 2011, 11:57
Znuny Version: 3.3.8
Real Name: Rado Hrabcak

Re: How to put ticket in to queue based on dynamic field rule?

Post by duffy »

So I cannot route ticket when creating into specific queue?
OTRS 3.3.x on Linux with PostgreSQL database and LDAP
reneeb
Znuny guru
Posts: 5018
Joined: 13 Mar 2011, 09:54
Znuny Version: 6.0.x
Real Name: Renée Bäcker
Company: Perl-Services.de
Contact:

Re: How to put ticket in to queue based on dynamic field rule?

Post by reneeb »

Unfortunately, when the ticketcreate event is fired, the dynamicfields aren't set. So it would require custom development to achieve this...
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
alexus
Znuny wizard
Posts: 382
Joined: 20 Sep 2010, 16:54
Znuny Version: OTRS 6 CE
Real Name: Alexey Yusov
Company: Radiant System Group s.r.o
Location: Prague
Contact:

Re: How to put ticket in to queue based on dynamic field rule?

Post by alexus »

reneeb wrote:Unfortunately, when the ticketcreate event is fired, the dynamicfields aren't set. So it would require custom development to achieve this...
Yes, but you can use dynamic field update event for ticket with state "new". It wouldn't require custom development 8) !
Alexey Yusov

Production: OTRS CE ITSM 6.0.28 on CentOS 7 + Apache 2.4 + MariaDB 10.4.13 + Radiant Customer Portal

Radiant System OTRS Intergrator
RS4OTRS marketplace
Stay tuned on our Facebook
((OTRS)) Community Edition - what next?
duffy
Znuny newbie
Posts: 16
Joined: 29 Nov 2011, 11:57
Znuny Version: 3.3.8
Real Name: Rado Hrabcak

Re: How to put ticket in to queue based on dynamic field rule?

Post by duffy »

Thanks!
OTRS 3.3.x on Linux with PostgreSQL database and LDAP
Locked