Freshservice - Create Ticket
  • 05 May 2024
  • 4 Minutes to read
  • Dark
  • PDF

Freshservice - Create Ticket

  • Dark
  • PDF

Article summary

Freshservice - Create Ticket creates a Freshservice ticket for all the entities retrieved from the saved query supplied as a trigger (or from the entities selected in the asset table).


All Freshservice field names are case sensitive. To check a field name, fetch the asset with a curl command and check the RAW data in Axonius. See Service Desk API for Developers | Freshservice.

See Creating Enforcement Sets to learn more about adding Enforcement Actions to Enforcement Sets.

General Settings

  • Enforcement Set name (required) - The name of the Enforcement Set. A default value is added by Axonius. You can change the name according to your needs.
  • Add description - Click to add a description of the Enforcement Set. It is recommended to describe what the Enforcement Set does.
  • Run action on assets matching following query (required) - Select an asset category and a query. The Enforcement Action will be run on the assets that match the query parameters.
  • Action name (required) - The name of the Main action. A default value is added by Axonius. You can change the name according to your needs.
  • Configure Dynamic Values - Toggle on to enter a Dynamic Value statement. See Creating Enforcement Action Dynamic Value Statements to learn more about Dynamic Value statement syntax.

  • Use stored credentials from Freshservice Adapter - Select this option to use Freshservice connected adapter credentials.
    When you select this option, the Select Adapter Connection drop-down is available, and you can choose which adapter connection to use for this Enforcement Action.
To use this option, you must successfully configure a Freshservice adapter connection.

Required Fields

These fields are required to run the Enforcement Action.

  • Action Choice - Select the action to perform:
    • Create Ticket
    • Create Change Request
  • Ticket requester email - Specify an email address of the requesting person to create the ticket. If no contact exists with this email address in Freshservice, it will be added as a new contact.
  • Compute Node - The Axonius node to use when connecting to the specified host. For more details, see Connecting Additional Axonius Nodes.

Additional Fields

These fields are optional.

Connection Parameters

If Use stored credentials from the Salesforce Adapter is disabled, these fields are required:

  • Freshservice domain – The hostname of the Freshservice server.
  • API key – Specify the API Key provided by Freshservice.
  • Verify SSL - Select whether to verify the SSL certificate of the server against the CA database inside of Axonius. For more details, see SSL Trust & CA Settings.

  • HTTPS Proxy - Connect the adapter to a proxy instead of directly connecting it to the domain.

  • Throttle API Requests - Select this option to only use 90% of the API total rate limit bandwidth. For example: If a customer has 3000 total API calls allowed per hour, axonius will only produce 2700 calls, and leave the remaining 10% available.
  • Create Incident API version - Select the version of Freshservice API to use to create the ticket. V1 of the FreshService API is deprecated, and will no longer be supported after May 2023.
  • Subject (default: Axonius-created incident) - Specify the ticket title.
  • Ticket description (default: Incident created by axonius) - Specify a ticket description.
  • Priority (default: low) - Specify the ticket priority: low, medium, high, or urgent.
  • Group Name or Group ID - Specify a group ID or group name to which the ticket should be assigned. When you choose a group name, Axonius will search all groups for the group ID with the specific name. Searching for the group ID is only supported if the credentials of the EC user are Super Admin.​
  • Ticket Category (free text) - Some groups have a category validation, and this field may be required.
  • Custom fields (JSON format) - Custom fields to add to this incident described in JSON format.

    If a custom field is already configured by this Enforcement Action, the new custom value is ignored.
  • Add default ticket description - Select whether to send the configured default ticket description to Freshservice.
    Message example

    Alert - "test" for the following query has been triggered: Missing Sophos

    Alert Details
    The alert was triggered because: The number of entities is above 0
    The number of devices returned by the query: 4
    The previous number of devices was: 4

    You can view the query and its results here: Sophos

  • Add Asset names to description - The names of the assets included in the ticket will be inserted into the ticket description, separated by a comma.
  • Gateway Name - Select the gateway through which to connect to perform the action.

For more details about other Enforcement Actions available, see Action Library.

Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.