I am trying to find the entry_id value for a custom field, based on the ticket that a staff member has open.Does anyone know of a function or database query that could do this on the include/staff/ticket-view.inc.php page?So far I've looked in the include/class.ticket.php for a function that would help me do this, but none of the ones I've tried have had any success. I've also looked in the database to see if it is referenced in ost_ticket alongside the ticket_id.

Ok found it!It's associated in the mysql database under ost_form_entry. The ticket_id is called "object_id" and the entry_id is just called "id". I hope this might be able to help someone in the future!

Write a Reply...