use doubly linked list in contract to return all open ticketIds
use doubly linked list in contract to return all open ticketIds