Skip to main content
This feature requires a Service Premium license or the Growth plan.
The system logs all noteworthy actions and changes pertaining to tickets. You can also add your own log entries.

Write a message to the ticket log

You can manually write messages to the ticket log. Not to be confused with the message objects associated with the ticket.

Void log(String message)

Logs a message to the ticket log.

Void log(String who, String message)

A variant of log() that includes who made the entry.

Search the log

When inspecting logs, the CRMScript SearchEngine is your best friend. Here’s some info commonly filtered on:
  • ticket_id
  • message_id
  • user_id
  • customer_id
  • log_when (DateTime)
Look up more options in the database reference. Example searches:
  • requests amended or updated in a specific way within a specific period
  • all requests that a user has changed in the last week, regardless of who is responsible for the request or what status it has
This will print the ID and title of any merged tickets updated sometime during the current week.

Database entries

For each change to a ticket, new entries are added to both the ticket_log_action table and the ticket_log_change table.