ich habe von 2.4.9 auf 3.1.11 aktualisiert (Zwischenschritt 3.0.x hab ich natürlich auch gemacht) und es funktioniert soweit auch Alles. Ich habe allerdings ein Problem mit den Dynamischen Feldern.
Ich habe mit der 2.4.9 einen Generic Agent eingerichtet, der das FreeTime-Feld ausliest und eine Email verschickt und das Ticket verschiebt, wenn das Datum des FreeTime-Feldes überschritten ist.
Code: Select all
# [name of job] -> send reminder emails to agents
# --
'send reminder emails to agents' => {
# get all tickets with these properties
QueueIDs => [ 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16 ],
StateType => [ 'open', 'processing', 'new', 'pending auto', 'pending reminder' ],
TicketFreeTime1OlderDate => $TimeStamp,
# new ticket properties (no option is required,
# use just the options which should be changed!)
New => {
QueueID => 17,
Priority => '5 very high',
TicketFreeKey3 => 'Projektstand',
TicketFreeText3 => 'Der geplante Endzeitpunkt ist erreicht!',
# if you want to add a Note
Note => {
From => 'Ticketsystem der IT!works Systemhaus GmbH',
Subject => 'Reminder Notification',
Body => 'Der geplante Endzeitpunkt ist erreicht!',
ArticleType => 'note-external', # note-internal|note-external|note-report
},
# notify all agents who selected the queue in "my queues/custom queues"
#Module => 'Kernel::System::GenericAgent::NotifyAgentGroupOfCustomQueue',
# notify all agents who can access the ticket with rw permissions
Module => 'Kernel::System::GenericAgent::NotifyAgentGroupWithWritePermission',
},
},
Gruß
Markus