We have scriptrunner and "inactiveUsers()" works great in the following scenario:
assignee in inactiveUsers()
However we have some fields that can take multiple users, thus the following shows both tickets with only an invalid Product Owner as well as tickets with both a valid and an invalid Product Owner. How do I write JQL that will show only tickets that only have invalid Product Owners?
"Product Owner" in inactiveUsers()
What I want to say is
"Product Owner" in inactiveUsers() and "Product Owner" not in activeUsers()
but there appears to be no opposite of inactiveUsers() - activeUsers() does not exist in JQL.
I tried this but it did not work:
"Product Owner" in inactiveUsers() and not "Product Owner" not in inactiveUsers()