Custom Field Select List Multiple Choice Search

DanaF March 8, 2017

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 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2017

"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"

DanaF March 8, 2017

When i enter 

"inspector = Bob and inspector = Jane"

I get the error:

JIRA ERROR.png

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2017

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.

DanaF March 8, 2017

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

 

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2017

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

DanaF March 8, 2017

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

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 8, 2017

You said that already


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

MattS
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 9, 2017

Type this as your JQL query, nothing else.

 

inspector = Bob and inspector = Jane

DanaF March 9, 2017

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