Skip to main content

List available categories

List available priorities

Find requests

Search for a ticket with a given tag

Tagging is a powerful tool for organizing and finding requests in SuperOffice Service.
List tags by their ID as a comma-separated string.

List all tickets with a given status

This snippet lists all active tickets. Change the last argument to addCriteria() to filter on other statuses.

Find people

Find “Our contact” on the company for the customer connected to the ticket

There is not a direct route from a ticket to an associate. You need to step through the tables in the following order using the foreign keys:
  • Ticket (cust_id)
  • Person (contact_id)
  • Contact (associate_id)
  • Associate
This snippet fetches the associate ID of “Our contact” form ticket 1.

Postpone tickets

Sometimes you need to put tickets on the back-burner.