Start by navigating to Ticketing > Ticketing Setting > Ticket Mapping where you can create a new mapping for your ITSM system. If you are adding a new ticket type to an existing configuration, click edit to open the existing configuration. If you are configuring ticketing for the first time or adding a new ticketing system create a new ticket mapping configuration by clicking on Create.
Skip this step if you are editing an existing configuration

Name for the ticketing system - Please name your ticketing system configuration
Select Connector - Select the connector which was configured by following the steps in the Guide here.
Bot Service account Id - ID of service account for Moveworks bot in the Ticketing system which is being configured. In the case of ServiceNow this is going to be the User name of the service account
Ticket redirect URL format - This is the redirect URL Format for your ticket. Leave this empty in the case of ServiceNow as the Moveworks Default will be picked up.

Link to view all tickets - This is a link to the ServiceNow Portal, where users can view all their open tickets. It is presented to users when they access the ‘View All Tickets’ option in the Assistant.
Define what Ticket Types you want Moveworks to support and the tables which are categorised into the predefined types which are provided by Moveworks.


Once we have classified the Ticket types, we need to select that in the below polling configurations in order for Moveworks to interact with the Tickets.

Now that we have defined what types of tickets Moveworks should support, We can now configure the Payloads for the Ticket Actions which can be performed by the AI Assistant. We will also define the below configurations to support Ticketing in Moveworks.

In order for Moveworks to poll/query your tickets from the external ITSM system we need to map the structure of the ITSM Ticket payload to the internal Moveworks Attribute Structure which is defined under Ticket Attribute Mapping. Mapping ticket structure allows Moveworks to understand what the ticket data contains.
For example :
The below fields need to be defined in order for the Ticketing Mapping to be created.
Query Ticket Field Map



This configuration is used for Mapping state transition, which allows Moveworks to understand the ticket workflow in your system. This can be simply done in two states.

The Domain the ticket type falls under, for instance break/fix issues are part of IT_DOMAIN. While payroll issues are part of FINANCE_DOMAIN

Prefix adds a prefix to a ticket type. This will help identify unique ticket types within AI Assistant and define how the ticket numbers are represented in the Notifications. In ServiceNow, this should correspond with the ticket prefix. For example, incident tickets would be INC, but request item tickets may be RITM.

The External Table on the ITSM end where the tickets are polled and created by the AI Assistant.
For example incident would be incident, but request item would be sc_req_item

The backend field name of the attribute (not the display name) in the ServiceNow ticket table that identifies who the requestor of the ticket is. This must be a user reference field. By default for incident, this field is called_id

Each of these payloads are defined to support a specific ticket action.
Create Ticket Payload
These are the ticket attributes which need to be defined in the JSON payload in order to submit the API call which will create the ticket. The Attributes which the ITSM system is expecting is on the left.
While the Moveworks variables which will slot and populate the data are defined on the right. Some of these values can be static as well and can be explicitly defined as strings.
Update Ticket Payload
This mapper defines which attributes need to be submitted in order to update a ticket on Jira via API calls. Here we will be updating the comments and labels which are provided by the user.
Resolve Ticket Payload
This is the ticket payload which needs to be submitted in order for the user to resolve the ticket, The fields to resolve a ticket can differ for customer workflows, so please ensure you are using the right attribute.
Reopen Ticket Payload
This ticket payload is leveraged to reopen a Resolved ticket on the ITSM, Reopen flows are specific and require the user to provide comments when reopening, or some flows do not support reopening tickets once closed.
In order to support Reopening please define the attributed below in the same format as Resolve Ticket Payload
Submit the config to Complete the Ticket Mapping for Moveworks.
After your Ticket mapping has been completed we need to write the default routing rules in the Assistant context in order to allow the ticket actions to take place. Ticket routes are separated into action specific which can house both default and Conditional routes.

This is where the workflows referenced in Ticket Routing are configured. Please ensure the Workflow names match what has been defined in the routing configuration.

In order to allow Moveworks to query the tickets from your external ITSM system, we need to enable the permissions on the Moveworks end. You can set this up by Navigating to Resource Permissions > Permission rules where you can create a new configuration for permission access to this ticket plugin.
Here is a Guide to learn more about Resource Permissions and how they work.
There are 2 types of Permission Strategies which are supported ABAC and REBAC. In the case of Ticketing since this is going to be an Integration level Permission rule, we can only use ABAC as the Permission strategy.

We can now try performing the ticket action (for each Ticket type) such as create or query depending on the Workflow which was created. Try to validate each ticketing action independently to ensure it is working as expected.
If you still continue to see issues please reach out to Moveworks Support