Autotask icon

Autotask

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

Actions524

Ticket History → Get Many

AI-generated

Overview

This node operation retrieves multiple ticket history records from the Autotask PSA system for a specified ticket. It is useful for scenarios where you need to fetch the history or audit trail of changes and updates related to a particular ticket, such as tracking progress, changes, or comments over time.

Use Case Examples

  1. Fetch all history entries for a specific ticket to analyze the sequence of updates.
  2. Retrieve a limited number of recent history records for a ticket to display in a dashboard or report.

Properties

Name Meaning
Ticket ID The ID of the ticket to get history for. This is the only allowed filter.
Get All Whether to return all results or only up to a given limit
Max Records Max number of records to return (1-500)
Add Picklist Labels Whether to automatically add "_label" fields for picklist fields with human-readable values (no labels will be added for empty values)
Add Reference Labels Whether to automatically add "_label" fields for reference fields with human-readable values (no labels will be added for empty values)
Select Columns Names or IDs. Choose which fields to include in the response. If no fields are selected, all fields will be returned. The ID field is always included regardless of selection.
Flatten User-Defined Fields Whether to bring user-defined fields up to the top level of each object. When enabled, UDFs will be accessible as top-level properties instead of being nested in the userDefinedFields array

Output

JSON

  • id - Unique identifier of the ticket history record
  • ticketID - The ID of the ticket this history record belongs to
  • changeDate - Date and time when the change was made
  • changedBy - User or system that made the change
  • changeDescription - Description of the change made in the ticket history
  • additionalFields - Additional optional fields related to the ticket history record
  • userDefinedFields - User-defined fields associated with the ticket history record, if not flattened
  • _label - Human-readable labels for picklist or reference fields, if enabled

Dependencies

  • An API key credential for Autotask PSA REST API

Troubleshooting

  • Ensure the Ticket ID is valid and exists in the Autotask system to avoid errors.
  • If no records are returned, verify that the ticket has history entries and that filters are correctly set.
  • Check API credentials and permissions if authentication errors occur.
  • If the node fails to return expected fields, verify the 'Select Columns' property and adjust accordingly.

Links

Discussion