NAME

otrs.CreateTicket.pl - create tickets in OTRS via web services.

SYNOPSIS

otrs.CreateTicket.pl --Server otrs.example.com --Ssl --UserName myname \ --Password secretpass --Title 'The ticket title' \ --CustomerUser customerlogin --Body 'The ticket body' --DynamicField Branch="Sales UK" --DynamicField Source=Monitoring

SYNOPSIS

otrs.CreateTicket.pl command syntax:

otrs.CreateTicket.pl [arguments]

Arguments:

SERVER CONNECTION
--Server        Name of OTRS server.
--Ssl (boolean) If SSL (https) should be used.

Alternatively:
--Url           Full URL to GenericTicket web service.

USER AUTHENTICATION
--UserLogin     Login name of valid Agent account.
--Password      Password for user.

TICKET DATA
--Title         Title of ticket.
--CustomerUser  Customer of ticket (mandatory!).
--Priority      Defaults to '3 normal' if not specified.
--Queue         Defaults to 'Postmaster' if not specified.
--Owner         Optional.
--Responsible   Optional, and only if activated on the server.
--Service       Optional, and only if activated on the server.
--SLA           Optional, and only if activated on the server.
--Type          Optional, and only if activated on the server.

ARTICLE DATA
--Subject       Optional, defaults to title if not defined.
--Body          Body text of the message.
--SenderType    Optional, defaults to 'Customer'.
--ArticleType   Optional, defaults to 'web-request'.

DYNAMIC FIELDS
--DynamicField  Optional. Can be passed multiple times. Takes Name=Value pairs.