Querying ticket object