It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Custom Field Select List Multiple Choice Search

DanaF Mar 08, 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 Mar 08, 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 Mar 08, 2017

When i enter 

"inspector = Bob and inspector = Jane"

I get the error:

JIRA ERROR.png

Nic Brough [Adaptavist] Community Leader Mar 08, 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 Mar 08, 2017

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

 

Nic Brough [Adaptavist] Community Leader Mar 08, 2017

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

DanaF Mar 08, 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 Mar 08, 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).

Type this as your JQL query, nothing else.

 

inspector = Bob and inspector = Jane

DanaF Mar 09, 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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

741 views 7 0
Join discussion

Community Events

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

Events near you