status IN ("To Do", "In Progress", "Closed")
is the same as
status = "To Do" OR status = "In Progress" OR status = "Closed"
I'm looking for something being the same as
labels = "cats" AND labels = "dogs" AND labels ="pets"
Is there anything like this?
Hi @Frank Reiter and welcome to the Community.
I think you will have to do:
labels = "cats" OR labels = "dogs" OR labels ="pets"
Also remember that if you want to see issues with nothing in the the Labels field, to include:
OR labels is empty
HTH,
KGM
Thanks, Kristján, so I'm not missing out some nice Jira feature unknown to me, but there is actually nothing equivalent to IN available, right?
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.
Welcome to the Atlassian Community!
There's no such thing as "in" with "and". It's logical nonsense because there's no way to explain it to the system you want to ask it of. The closest you could get is "has all of these attributes", but no-one usually bothers to implement that because you can do it quite clearly with "x = y and x = z", and not a lot of people have a use for it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Like @Nic Brough -Adaptavist- said, it's unlogical to use a condition that is EQUAL and have AND to the same column/field. Even in SQL, this is wrong to use:
name = 'John' and name = 'Mary' and name = 'Susan'
The correct way is to use:
name in ('John','Mary','Susan')
I use this filters in my JIRA and I hope this can help you:
assignee in (5f53a61573a268004d29589b,6082d8f07495ff006a31c050) AND NOT (status = closed OR status = resolved OR status = Canceled) ORDER BY updatedDate DESC
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.