Servus,
schau dir das mal an vll findest da drin die Einstellung die du suchst. Ich
geh mal davon aus, dass du deinen Job in der GenericAgent.pm anlegst?
%Jobs = (
'Aktion' => {
#+ TicketNumber => '%21000120%',
#- TicketNumber => ['%123546%', '%123666%'],
#+ Title => '%ome%',
#+ Title => ['%ome%', '%Tit%'],
#+ Queues => ['Ticketeingang'], # oder
#+ QueueIDs => [1, 2, 3],
#+ UseSubQueues => 1,
#+ Types => ['change', 'incident'],
#+ TypeID => [3, 4],
#+ States => ['neu', 'offen' ],
#+ StateIDs => [3, 4],
#+ StateType => 'Open',
#+ StateType => ['open', 'new'],
#+ StateTypeIDs => [1, 2, 3],
#+ Priorities => ['1 very low', '2 low', '3 normal'],
#+ PriorityIDs => [1, 2, 3],
#+ Services => ['Regelzeit', 'Bereitschaft' ],
#+ ServiceIDs => [1, 2, 3],
#+ SLAs => ['SLA 1', 'SLA 2' ],
#+ SLAIDs => [1, 2, 3],
#+ Locks => ['unlock'],
#+ LockIDs => [1, 2, 3],
#- OwnerIDs => [1, 2]
#- ResponsibleIDs => [1, 12, 455, 32]
#+ WatchUserIDs => [1, 2],
#+ CustomerID => 'Kunden#',
#+ CustomerID => ['Kunden#1', 'Kunden#2'],
#+ CustomerUserLogin => 'Userlogin',
#+ CustomerUserLogin => ['Userlogin1', 'Userlogin2'],
#- CreatedUserIDs => [1, 12]
#+ CreatedTypes => ['change', 'incident'],
#+ CreatedTypeIDs => [1, 2, 3],
#+ CreatedPriorities => ['1 very low', '2 low', '3 normal'],
#+ CreatedPriorityIDs => [1, 2, 3],
#+ CreatedStates => ['new', 'open'],
#+ CreatedStateIDs => [3, 4],
#+ CreatedQueues => ['Queue1', 'Queue2'],
#+ CreatedQueueIDs => [1, 2, 3],
#+ TicketFreeKey1 => 'Produkt',
#+ TicketFreeText1 => 'adfsa',
#+ TicketFreeKey2 => ['Produkt', 'Mosaik'],
#+ TicketFreeText2 => ['Browser', 'Sound'],
#+ TicketFreeTime1NewerDate => '2006-01-09 00:00:01',
#+ TicketFreeTime1OlderDate => '2006-01-19 23:59:59',
#+ From => '%[email protected]%',
#+ To => '%[email protected]%',
#+ Cc => '%[email protected]%',
#+ Subject => '%VIRUS 32%',
#+ Body => '%VIRUS 32%',
#? FullTextIndex => 1,
#+ TicketCreateTimeOlderMinutes => 60,
#+ TicketCreateTimeNewerMinutes => 120,
#+ TicketCreateTimeNewerDate => '2006-01-09 00:00:01',
#+ TicketCreateTimeOlderDate => '2006-01-19 23:59:59',
#+ TicketCloseTimeOlderMinutes => 60,
#+ TicketCloseTimeNewerMinutes => 120,
#+ TicketCloseTimeNewerDate => '2006-01-09 00:00:01',
#+ TicketCloseTimeOlderDate => '2006-01-19 23:59:59',
#? TicketPendingTimeOlderMinutes => 60, # Message: No valid
time format '1222417078'!
#? TicketPendingTimeNewerMinutes => 120, # Message: No valid
time format '1222413523'!
#+ TicketPendingTimeNewerDate => '2006-01-09 00:00:01',
#+ TicketPendingTimeOlderDate => '2006-01-19 23:59:59',
#+ TicketEscalationTimeOlderMinutes => -60,
#+ TicketEscalationTimeNewerMinutes => -120,
#+ TicketEscalationTimeNewerDate => '2006-01-09 00:00:01',
#+ TicketEscalationTimeOlderDate => '2006-01-09 23:59:59',
# new ticket properties
New => {
# Title => 'Some Ticket Title',
# Queue => 'Ticketeingang',
# QueueID => 2,
# Lock => 'unlock',
# Priority => '2 low',
# PriorityID => 3,
# State => 'neu',
# StateID => 1,
# Type => 'Incident',
# TypeID => 2,
# Service => 'Bereitschaft',
# ServiceID => 2,
# SLA => 'SLA 1',
# SLAID => 1,
# CustomerID => '123465',
# OwnerID => 2,
# TicketFreeText1 => 'Expert required!',
# TicketFreeKey1 => 'ProductSkill',
# Note => {
# From => 'GenericAgent',
# Subject => 'spam!',
# Body => 'Closed by GA!',
# ArticleType => 'note-internal', #
note-internal|note-external|note-report
# };
# Module =>
'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue',
# # notify all agents
who selected the queue
# #in "my queues/custom
queues"
# Module =>
'Kernel::System::GenericAgent::NotifyAgentGroupWithWritePermission',
# # notify all agents
who can access the ticket
# # with rw permissions
# CMD => '/path/to/your/program',
# Delete => 1, # Ticket aus der
Datenbank löschen!
},
},
);
Gruß Chris
Am 26. April 2012 13:58 schrieb Christoph Sandhaus <[email protected]>:
> Hallo Liste!
>
> Ich suche Tickets mit dem GenericAgent nach "Änderungs-Zeiten". Die
> Einstellung ist
> Ticket geändert vor 3 Monaten.
> (Lieber wäre mir: "seit 3 Monaten unverändert". Hab ich eine Einstellung
> übersehen?)
>
> Die gefundenen Tickets verschiebe ich in eine andere Queue und setzte den
> Status neu. Ebenso hinterlasse ich eine Notiz.
>
> Nun gehe ich davon aus, dass der GA diese Tickets für 3 Monate nicht mehr
> herausfilter.
> Leider tut er das, was er aber nicht soll!
>
> Wie bekomme ich es hin, dass der GenericAgent mir nur Tickets filter,
> welche seit mehr als 3 Monaten unverändert dort schlummern?
>
> Danke + LG.,
> Christoph
>
> ===
> OTRS 3.1.3
> ---------------------------------------------------------------------
> OTRS mailing list: otrs-de - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs-de
> To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de
>
---------------------------------------------------------------------
OTRS mailing list: otrs-de - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs-de
To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs-de