Recently we started restricting access of contractors. They have our company.com accounts, but we removed them from the Company Users group that we were using to gate access to all projects.
Instead they're now in Contractors - Department groups that we use to grant them access to specific projects.
Additionally we have external users from externalcompany.com invited to access certain projects that are members of a External Company group
A user noted that his filters use:
assignee NOT IN membersOf("Company Users") AND assignee NOT IN membersOf("External Company")
And it is now unexpectedly turning up Contractors that are not in either group.
SO, the Contractors are considered Managed Users since they're in our domain. Is there any JQL hack to let us query on users with the same domain name?