Custom Module TicketInitialValueGet
This module inserts the initial information of the ticket in a dynamic field.
Run
Custom module:
Módulo: Kernel::System::GenericAgent::TicketInitialValueGet::TicketInitialValueGet;
FieldName: Name of the dynamic field that receives the defined value (must be a text field).
TicketGetValue: Name of the parameter that the field will save.
UserData: Name of the dynamic field that receives the value of 'created by' (must be a text field)
Possible values:
TicketNumber
Title
TicketID
State
StateID
StateType
Priority
PriorityID
Lock
LockID
Queue
QueueID
CustomerID
CustomerUserID
Owner
OwnerID
Type
TypeID
SLA
SLAID
Service
ServiceID
Responsible
ResponsibleID
Age
Created
CreateBy
Changed
DynamicField_X
To do this, access the Administrative menu and go to the "Generic Attendant" option.
If the value you want is CreateBy, it is necessary to use a third parameter, like the one in the image below. Note: For customer user created tickets, the default value of 'Created by' is Admin OTRS.
You can search by:
- UserFirstname
- UserLastname
- UserFullname
- UserLogin
- UserEmail
To map the initial values, this attendant must have a 'TicketCreate' event.