Kernel::System::Calendar::Plugin::Ticket - Ticket plugin
Ticket appointment plugin.
create an object. Do not use it directly, instead use:
use Kernel::System::ObjectManager; local $Kernel::OM = Kernel::System::ObjectManager->new(); my $TicketPluginObject = $Kernel::OM->Get('Kernel::System::Calendar::Plugin::Ticket');
adds a link from an appointment to the ticket
my $Success = $TicketPluginObject->LinkAdd( AppointmentID => 123, PluginData => $TicketID, UserID => 1, );
returns a hash of linked tickets to an appointment
my $Success = $TicketPluginObject->LinkList( AppointmentID => 123, UserID => 1, );
search for ticket and return a hash of found tickets
my $ResultList = $TicketPluginObject->Search( Search => '**', # search by ticket number or title # or ObjectID => 1, # search by ticket ID (single result) UserID => 1, );
This software is part of the OTRS project (https://otrs.org/).
This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (GPL). If you did not receive this file, see https://www.gnu.org/licenses/gpl-3.0.txt.