Hi all,
I want to filter out one specific component. When I googled, I read that the correct syntax is:
project="myProjet" AND (component != XYZ)
The problem here is that all issues without any component, are also excluded. That's not what I want. I want to show everything, but not component XYZ.
How do I do that?
Thanks
Emelie
Add the following…
… AND Component is not Empty
I added this query:
project="myProject" AND (component != XYZ) AND (component != empty)
But it still filters out all issues without components.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
try this...
project="myProject" AND (component != XYZ) AND (component is not empty)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
everything, but not component XYZ.
That would be
project="myProject" AND ((component != XYZ) OR (component is empty))
although I fail to understand why the OR (component is empty) part is necessary (I tested it on my instance, it really is). The operators reference (https://confluence.atlassian.com/jirasoftwareserver/advanced-searching-operators-reference-939938745.html#Advancedsearchingoperatorsreference-NOT_EQUALSNOTEQUALS:!=) doesn't seem to cover this case.
EDIT: OK, I'm not sure if I missed that part or if the text has been updated, but the operator reference does cover this case:
The operator won't match a field that has no value (an empty field). For example,
component != fred
will only match issues that have a component and this component isn't "fred". To find issues that have a component other than "fred" or have no component, you should typecomponent != fred or component is empty
.
(Though I still fail to understand why anyone would have designed it that way).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot!! helped me to solve in my project!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Join us to learn how your team can stay fully engaged in meetings without worrying about writing everything down. Dive into Loom's newest feature, Loom AI for meetings, which automatically takes notes and tracks action items.
Register today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.