Skip to main content

OTRS: Create Ticket

Description

OTRS: Create Ticket plugin step creates a ticket in OTRS.

Reference

Ticket Create

Configurations

Field nameDescription
Step NameSpecify a unique step name.
CONNECTION
Server AddressSpecify the address of the OTRS server. For example, http://13.41.4.56.
This field is mandatory.
User NameClick to select the user name of the agent. This field is mandatory.
PasswordSpecify the password for the agent. This field is mandatory.
Test ConnectionVerifies whether the connection is established or not.
Note:
Test Connection button does not work for previous step fields. Test Connection button only works with static values and environment variables.
INPUT TAB:Input fields
Accept Value of JSONSelect the checkbox, to use the JSON field as an input to build JSON. If it is not selected then, use table input to build the JSON.
The checkbox is not selected, by default.
JSONProvide JSON in a valid format to create a ticket.
The data type is String. This field is optional.
Sample JSON:

{ "Ticket" : { "Title" : "some ticket title", QueueID" : "ID of queue", "Queue" : "some queue name", "LockID" : "ID of lock", "Lock" : "some lock name", "TypeID" : "123", "Type" : "some type name", "ServiceID" : "123", "Service" : "some service name", "SLAID" : "123", "SLA" : "some SLA name", "StateID": "123", "State": "some state name", "PriorityID": "1", "Priority": "some priority name", "OwnerID": "123", "Owner": "some user login", "ResponsibleID": "123", "Responsible": "some user login", "CustomerUser" : "some customer user login" }, "Article" : { "CommunicationChannel" : "Email", "CommunicationChannelID" : "1", "IsVisibleForCustomer" : "1", "SenderTypeID" : "123", "SenderType" : "some sender type name", "AutoResponseType" : "some auto response type", "From" : "some from string", "To" : "some to string", "Cc" : "some cc string", "Bcc" : "some bcc string", "Subject" : "some Subject", "ContentType" : "some content type", "Body" : "some body", "MimeType" : "some mime type", "Charset" : "some charset", "HistoryType" : "some history type", "HistoryComment" : "Some history comment", "TimeUnit" : "123", "NoAgentNotify" : "1" } }

Table FieldsIn case ‘Accept Value As JSON’ is not selected then give input using the table fields.
Variable Field NameSpecify values from an environment variable or from a previous field or hardcoded name of the property you want to provide.
Static Field NameSelect the name of the field from the dropdown.
Field ValueProvide the value for the respective field name.
OUTPUT TAB:Output fields
Ticket NumberProvide the ticket number of the created ticket. The default value is TicketNumber.
Ticket IDProvide the ID of the created ticket. The default value is TicketID.