I am running OTRS 3.1.10. I have set up a GenericAgent to move all tickets in Queue "Raw" with ticket type "Incident". If I run the filter all tickets in the queue "raw" are moved even those with a ticket type different to Incident. How can I adjust the filter only to move tickets of type Incident?
Thanks for every help.
# -----------------------------------------------------------------------
# config options
# -----------------------------------------------------------------------
%Jobs = (
# --
# [name of job] -> move all tickets with type set to Incident to the IT queue
# --
'move tickets from raw to IT' => {
# get all tickets with these properties
Queue => ['Raw'],
States => ['new'],
Type => ['Incident'],
# new ticket properties
New => {
Queue => 'IT',
Note => {
From => 'GenericAgent',
Subject => 'Moved!',
Body => 'Moved from "inbox" to "IT" because of a matching filter rule',
ArticleType => 'note-internal', # note-internal|note-external|note-report
},
},
},
GenericAgent moves all tickets
Moderator: crythias
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: GenericAgent moves all tickets
GenericAgent uses the TicketSearch API.
*most* of the search criteria is based upon the plural form of the fieldname being searched.
In your case, "Types" instead of "Type" is relevant.
*most* of the search criteria is based upon the plural form of the fieldname being searched.
In your case, "Types" instead of "Type" is relevant.
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
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