I want to query based on components matching with some string?
For example "component !~ 'string abc'" doesn't work for component.
And I want to use wildcards like "component !~ 'string *'"
Wich operators schould I use for "component DOES NOT CONTAIN 'string *'"? Are there other operators?
I'm using JIRA 6.0.3
I tried several solutions for this myself before I came to one that worked for me.
(component is EMPTY OR component not in ("componentName"))
I wanted to show any component, even if the component is empty. Because of the architecture, the component field does not exist until a component is added to the issue. Therefore, component != or something like this will not work, because the component field does not exist and cannot be parsed, so it will return an empty issue list.
Also, just slamming an OR into your existing JQL will break the rest of your filter, so you have to wrap the whole thing in parenthesis.
Hope this helps someone.
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events