Tickets belong to Users.
That is to say Agents do not have tickets. They do have tickets that they have access to see (which is controlled by Departments, Teams, and Ticket Assignment).
Once a ticket is opened (by an Agent) it creates a User account for the agent. In your scenario the agent would have to log into the User side of osTicket to see "their" Ticket.