App-OTRS-CreateTicket
view release on metacpan or search on metacpan
bin/otrs.CreateTicket.pl view on Meta::CPAN
otrs.CreateTicket.pl - create tickets in OTRS via web services.
=head1 SYNOPSIS
Example 1: all arguments on the command line, add attachment
otrs.CreateTicket.pl --Server otrs.example.com --Ssl --UserLogin myname \
--Password secretpass --Title 'The ticket title' \
--CustomerUser customerlogin --Body 'The ticket body' \
--DynamicField Branch="Sales UK" --DynamicField Source=Monitoring \
--Attachment demo.xls --Attachment screenshot.png
Example 2: read body in from a file
otrs.CreateTicket.pl --Server otrs.example.com --Ssl --UserLogin myname \
--Password secretpass --Title 'The ticket title' \
--CustomerUser customerlogin --BodyFile description.txt
Example 3: read body in from STDIN, pending at some date
otrs.CreateTicket.pl --Server otrs.example.com --Ssl --UserLogin myname \
( run in 1.066 second using v1.01-cache-2.11-cpan-df04353d9ac )