NAME
Kernel::System::Ticket::ColumnFilter – Column Filter library
DESCRIPTION
All functions for Column Filters.
PUBLIC INTERFACE
new()
Don't use the constructor directly, use the ObjectManager instead:
my $TicketColumnFilterObject = $Kernel::OM->Get('Kernel::System::Ticket::ColumnFilter');
StateFilterValuesGet()
get a list of states within the given ticket is list
my $Values = $ColumnFilterObject->StateFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'New',
4 => 'Open',
};
QueueFilterValuesGet()
get a list of queues within the given ticket is list
my $Values = $ColumnFilterObject->QueueFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
2 => 'raw',
3 => 'Junk',
};
PriorityFilterValuesGet()
get a list of priorities within the given ticket is list
my $Values = $ColumnFilterObject->PriorityFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
3 => '3 Normal',
};
TypeFilterValuesGet()
get a list of ticket types within the given ticket is list
my $Values = $ColumnFilterObject->TypeFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'Default',
};
LockFilterValuesGet()
get a list of ticket lock values within the given ticket is list
my $Values = $ColumnFilterObject->LockFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'unlock',
4 => 'lock',
};
ServiceFilterValuesGet()
get a list of services within the given ticket is list
my $Values = $ColumnFilterObject->ServiceFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'My Service',
};
SLAFilterValuesGet()
get a list of service level agreements within the given ticket is list
my $Values = $ColumnFilterObject->SLAFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'MySLA',
};
CustomerFilterValuesGet()
get a list of customer ids within the given ticket is list
my $Values = $ColumnFilterObject->CustomerFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
'CompanyA' => 'CompanyA',
};
CustomerUserIDFilterValuesGet()
get a list of customer users within the given ticket is list
my $Values = $ColumnFilterObject->CustomerUserIDFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
'MyCustomer' => 'MyCustomer',
};
OwnerFilterValuesGet()
get a list of ticket owners within the given ticket is list
my $Values = $ColumnFilterObject->OwnerFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'Admin OTRS',
};
ResponsibleFilterValuesGet()
get a list of agents responsible for the tickets within the given ticket list
my $Values = $ColumnFilterObject->ResponsibleFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
);
returns
$Values = {
1 => 'Admin OTRS',
};
DynamicFieldFilterValuesGet()
get a list of a specific ticket dynamic field values within the given tickets list
my $Values = $ColumnFilterObject->DynamicFieldFilterValuesGet(
TicketIDs => [23, 1, 56, 74], # array ref list of ticket IDs
ValueType => 'Text', # Text | Integer | Date | Double
FieldID => $FieldID, # ID of the dynamic field
);
returns
$Values = {
ValueA => 'ValueA',
ValueB => 'ValueB',
ValueC => 'ValueC'
};