WP Query Conditionally query meta and taxonomy
If it’s not too much of work, you could switch from using meta data to custom (private) terms for tagging the tickets to agents. So when ever an agent (user) is created, you would have custom function run that executes wp_insert_term to create an agent-term, where the newly created user ID is used as the … Read more