Business rules for tickets
Business Rules for Tickets
A mechanism is available to automatically modify ticket attributes when it is opened or updated.
The available criteria include all ticket attributes (title, description, status, category, urgency, impact, priority, request source, asset type, requester group/user/location, assigned to supplier/group/technician, asset type, entity) as well as others related to email collectors (headers...).
The possible actions are modifying certain ticket attributes (status, category, urgency, impact, priority, requester group/user/location, assigned to supplier/group/technician). It is also possible to assign a ticket to an equipment based on the data present in the ticket (assignment based on IP address, full name and domain, MAC address) or even to send a validation request.
When using GLPI in multi-entity mode, business rules for tickets can be recursive, meaning they can be defined on an entity with an application to the entity itself and its sub-entities.
Three tabs are available:
applied rules (entity name): all rules from parent entities played (only if you have the Business Rules (parent) permission on the Business Rules for Tickets (entity) permission);
local rules: the list of rules defined for the current entity;
rules applicable in sub-entities: all rules applied after those of the current entity.
Available Criteria (Ticket Specific)
Ticket Type
incident or request
type
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail Collector
Mail collector
_mailgate
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail X-Priority Header
Mail X-Priority header
_x-priority
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail From Header
Mail From header
_from
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail Subject Header
Mail Subject header
_subject
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail Reply-To Header
Mail reply-to header
_reply-to
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail In-Reply-To Header
Mail in-reply-to header
_in-reply-to
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Mail To Header
Mail To header
_to
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
SLAs TTR
SLA TTR identifier
slas_id_ttr
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
SLAs TTO
SLA TTO identifier
slas_id_tto
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
OLAs TTR
OLA TTR identifier
olas_id_ttr
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
OLAs TTO
OLA TTO identifier
olas_id_tto
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Requester Location
Requester location
_locations_id_of_requester
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist, is under, is not under
Element Location
Item Location
_locations_id_of_item
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist, is under, is not under
Ticket Location
Ticket Location
locations_id
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist, is under, is not under
Location Code
Location Code (of ticket)
_locations_code
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Validation
Validation Status
global_validation
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Validation Step
Name (id) of the validation step - is defined if a validation is accepted or rejected.
_validationsteps_id
is, is not, contains, does not contain, starting with, finished by, regular expresison matches, regular expression does not match, exists, does not exist
Available Actions (specific to tickets)
Ticket Type
Change the ticket type (incident, request)
type
Assign
Project
Link the ticket to an existing project
assign_project
Assign, Add, Assign regex result
SLAs TTR
Link to a Time To Respond SLA
slas_id_ttr
Assign
SLAs TTO
Link to a Time To Own SLA
slas_id_tto
Assign
OLAs TTR
Link to a Time To Respond OLA
olas_id_ttr
Assign
OLAs TTO
Link to a Time To Own SLA
olas_id_tto
Assign
TTR
Set the ticket's time_to_resolve value to null. Only works if this value is manually assigned, without an SLA association.
time_to_resolve
Delete
TTO
Set the ticket's time_to_own value to null.
time_to_own
Delete
Internal TTR
Set the ticket's internal_time_to_resolve value to null.
internal_time_to_resolve
Delete
Internal Response Time
Set the ticket's time_to_resolve value to null.
internal_time_to_own
Delete
Location
Set the location associated with the ticket
locations_id
Assign, Copy from user, Copy from item
Contract
Associate a contract
assign_contract
Assign, Assign regex result
Last updated