I have the following query that i'm trying to use in a filter. I've highlighted the particular issue in bold.
project = CP2 AND issuetype = Bug AND status in ("In Analysis", "In Development", "In Test", "New Ticket", Reopened) AND Component
not in ("Reporting") or component is EMPTY ORDER BY created DESC
If i remove the bold text, i get the overall report i'm after - all bugs at those statuses. but i'd also like to exclude any bugs with the component 'Reporting'.
However if i just use 'component not in ("Reporting")' i only get tickets that have components which that are not 'Reporting'. all those with 'empty' components are also excuded. Bit of research suggests i need 'component is EMPTY' for blank component bugs, but if i include that 'or' statement, it just brings back every issue type - bug, story, tasks etc.
How do i word that JQL to get
* All bugs
* including blank components
* excluding any components that contain "Reporting"?
Any help is much appreciated.