Custom Field Select List Multiple Choice Search

I have a couple of Select List - Multiple Choice Custom Fields.

I am trying to do a search where custom field - Inspector = BOTH Bob and Jane

This is what it creates when I select the 2 individuals.

"Inspector" in ("Bob", "Jane") order by created DESC

I cant seem to get the Syntax down for this. 

I am using JIRA Cloud

Any suggestions?

1 answer

0 vote

"z in (x,y)" is an or-type compound, it's asking the question "is Z in (x or y)?"

I think you need to try "inspector = Bob and inspector = Jane"

When i enter 

"inspector = Bob and inspector = Jane"

I get the error:

JIRA ERROR.png

My quotes were there to indicate the sentence as the distinct part of the answer, not to be pasted in direct.  Try it without the quotes, but type it, so that it auto-completes the user names for it.

When i enter it without the Quotes I get the same results and error

 

What does the auto-complete do when you start typing Bob?

Here is when i am in Basic Mode and i select the custom field Inspector and then select their names from the list.

I switch to Advanced and this is what i get. 

The results is it has selected all records that have Bob or Jane as the inspector.  

I want it to only provide results where Inspector = Bob & Jane 

JIRA Error 2.png

You said that already


Please, could you type the query I gave you?  The autocomplete should help you fill in Bob (and Jane later).

Type this as your JQL query, nothing else.

 

inspector = Bob and inspector = Jane

I was finally able to get it to work the way to fix it was

"inspector" = "Bob" and "inspector" = "Jane"

This allowed for me to get the results i needed where only showing me the items where

Inspector = Bob & Jane

Thanks Everyone for the help

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

189 views 0 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you