serviceup.png

Custom Module PreviousTicketValue

This module inserts the owner and responsible information of the ticket in the dynamic fields.

Run

Important: The Ticket::ResponsibleAutoSet setting must be disabled

Custom Module:

Module        => Kernel::System::GenericAgent::PreviousTicketValue::PreviousTicketValue;
DynamicField  => Name of the dynamic field that the previous owner receives.
DynamicField2 => Name of the dynamic field that receives the email from the previous owner.
Event         => Name of the event that will be triggered for execution.

To do this, access the Administrative menu and go to the "Generic Agent" and "Dynamic Field' option.

Create dynamic fields for each agent and enable them.

Owner dynamic field:

Dynamic field owner

Dynamic email field:

Dynamic field email

Dynamic event field:

Dynamic Field event

Enabling the fields:

enable dinamic field

Configure the generic agent with the TicketOwnerUpdate event.

Agent generic owner previous

And add Module and the keys with the names of the dynamic fields that were created.

Configuration of the fields for previous owner

With these settings, whenever the change of owner event is triggered, the dynamic fields referring to it must present the name and email of the previous owner.