searching multi-select custom fields

Hello,

I am trying to search issues, in which a (Query Issue) multi-select custom field contains (includes) a certain value.

Example:

The JQL query lists all the databases and three databases (db1, db2 and db3) are selected for a certain issue. Now I want to search all issues that have db1 in the databases field. How can I do it? "~" doesn't seem to work with QI-fields.

Thanks for any helps in advance! smile

2 answers

Hi PJ,

Yes, you are right operator "~" does not work for multi select fields.

You can use IN for multi select field for example, it will return all issues containing db1.

"database_cf" in (db1)

Taha

Thank you Taha! I have another question. I checked and you have to use the issue key in the search. Is there any way to save issue summary as the value instead of the key (or a concat of both)? If not, is there anyway to search via summary? We see the summary in the field values (view), but I don't know how to search it.

Example: db1 key is dbxxx01 and its summary is the ip address e.g. 1.1.1.1. Is there a way to search for 1.1.1.1. instead of dbxxx01? like "database_cf" in (1.1.1.1)?

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
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

815 views 2 19
Join discussion

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