Kernel::Modules::TicketAutoAssignment - interface lib
$Revision: 1.0 $ $Date: 2013/02/04 14:38:57 $ $VERSION = qw($Revision: 1.0 $) [1];
No such extra dependency, general OTRS 3.1.x will do.
This module is a interface module and will be access from interface OTRS interface and pl file. User can download the module and keep it under Kernel/Modules/TicketAutoAssignment.pm or can get the opm file from var/packagesetup/TicketAutoAssignment-1.0.1 and get installed as bundel in OTRS.
All function for auto allocation of ticket when newly created.
create an object
use Kernel::Config; use Kernel::System::Encode; use Kernel::System::Log; use Kernel::System::Main; use Kernel::System::DB; use Kernel::System::Time; use Kernel::System::Ticket; use Kernel::System::AuthSession; use Kernel::Modules::TicketAutoAssignment; # # create common objects # my %CommonObject = (); $CommonObject{ConfigObject} = Kernel::Config->new(); $CommonObject{EncodeObject} = Kernel::System::Encode->new(%CommonObject); $CommonObject{LogObject} = Kernel::System::Log->new( LogPrefix => 'OTRS-otrs.AutoAllocation.pl', %CommonObject, ); $CommonObject{MainObject} = Kernel::System::Main->new(%CommonObject); $CommonObject{TimeObject} = Kernel::System::Time->new(%CommonObject); $CommonObject{DBObject} = Kernel::System::DB->new(%CommonObject); $CommonObject{TicketObject} = Kernel::System::Ticket->new(%CommonObject); $CommonObject{GroupObject} = Kernel::System::Group->new(%CommonObject); $CommonObject{SessionObject} = Kernel::System::AuthSession->new(%CommonObject); $CommonObject{AutoAllocation} = Kernel::Modules::TicketAutoAssignment->new();
This software is part of the OTRS project (http://otrs.org/). This software comes with ABSOLUTELY NO WARRANTY. For details, see the enclosed file COPYING for license information (AGPL). If you did not receive this file, see http://www.gnu.org/licenses/agpl.txt.
To install Kernel::Modules::TicketAutoAssignment, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Kernel::Modules::TicketAutoAssignment
CPAN shell
perl -MCPAN -e shell install Kernel::Modules::TicketAutoAssignment
For more information on module installation, please visit the detailed CPAN module installation guide.