In our epics we have tasks where both need to be done before we can move the ticket forward but the tasks are done by different groups. Sometimes the other team gets their task done and the other doesn't for a while. I'd like to prioritize tickets where half the ticket has moved forward to speed up our ticket flow.
Ideally, in English, I want to find the following:
Epics with a task who's title includes the word "TeamA" and is in the state "ToDo" that also have a task who's title includes the word "TeamB" and is in the state "Done"
So far my searching and ChatGPT have struck out on a way to do this.