I have a filter that I'm working on to display our epics. I had excluded two teams I didn't want it to display using JQL, but it was also excluding the epics that don't have teams assigned. I need to have those epics without a team field returned. I need help writing to JQL to achieve this. I tried some different things with Team is Empty, but I couldn't get what I needed.
This is my current JQL with the team logic removed.
project in (X, X, X) AND issuetype = Epic AND createdDate >= startOfYear() AND status != "Will not do"