Hi all, hope you had a great weekend,
I was wondering if you could help me in terms of filter.
I am aware that we can exclude certain field by using '!~'
However, if I would like to exclude more than one item. I tried for example !~ xxxx !~ aaaa but it does not work
Is there any way we can achieve that?
project = yyyy AND summary !~ xxxx AND issuetype = zzzzz AND status in (xyz, "abc", "12345") AND "6789" in cascadeOption(00000, 00000) ORDER BY priority DESC, updated DESC
Thanks so much and kind regards.
Saengrawee
Why don't replace:
summary !~ xxxx
With:
summary !~ "xxxx" AND summary !~ "aaaa"
Does it work for you?
Regards
Hello,
Thanks for your help.
Unfortunately it does not work as I got the following feedback
Error in the JQL Query: Expecting a field name but got 'AND'. You must surround 'AND' in quotation marks to use it as a field name. (line 1, character 47)
Any futher suggestion?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Uops! I made a typo and write a double AND in my response.
Check it out again
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried both, with a double AND, with one AND, both lead to the same error response.
thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you share with us your final JQL query using my proposal? I believe there is something incorrect on it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Could you share with us an image to see where error are you getting?
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Query:
project = yyyy summary !~ "xxxx" AND summary !~ "aaaa" AND issuetype = zzzzz AND status in (xyz, "abc", "12345") AND "6789" in cascadeOption(00000, 00000) ORDER BY priority DESC, updated DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You need to add the 'AND' word between project = yyy and the first summary !~ "xxxx"
See:
project = yyyy AND summary !~ "xxxx" AND summary !~ "aaaa" AND issuetype = zzzzz AND status in (xyz, "abc", "12345") AND "6789" in cascadeOption(00000, 00000) ORDER BY priority DESC, updated DESC
Thanks in advance :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.