Autotask icon

Autotask

Interact with Kaseya's Autotask PSA REST API to manage companies, tickets, contracts, and more.

Actions524

Ticket History → Count (Advanced)

AI-generated

Overview

This node operation interacts with the Autotask PSA REST API to perform an advanced count query on the Ticket History resource. It allows users to specify a complex filter in JSON format to count ticket history records that match specific criteria. This is useful for scenarios where users need to get the number of ticket history entries based on detailed conditions, such as filtering by date ranges, status changes, or specific ticket attributes.

Use Case Examples

  1. Count the number of ticket history records where the status changed to 'Closed' within the last month.
  2. Get the count of ticket history entries related to a specific ticket or customer using a custom filter.

Properties

Name Meaning
Advanced Filter A JSON string containing a 'filter' array with Autotask API query criteria to specify the conditions for counting ticket history records.

Output

JSON

  • count - The total number of ticket history records matching the advanced filter criteria.

Dependencies

  • Requires an API key credential for Autotask PSA REST API authentication.

Troubleshooting

  • Ensure the Advanced Filter JSON is correctly formatted and follows the Autotask API query criteria syntax to avoid query errors.
  • Verify that the API credentials are valid and have sufficient permissions to access ticket history data.
  • Common errors may include invalid JSON format, unsupported filter fields, or API authentication failures. Check error messages for details and correct the input accordingly.

Links

Discussion