Custom field not searchable in “Search work items” even though REST API shows searchable: true

Hi everyone,
When I try to search by my custom field in Search work items, I get the following error:


However, when I check the field via the REST API, the field’s attributes show searchable: true.
So the UI says it isn’t searchable, but the API says it is.


The field context below:

What could cause it?

Hi @MertcanKaraba1

You can try to write the custom field in you JQL search bar and see which operator appears, if there is not IN, that’s the problem.

You can also test on a project your are sure this CF is set, and try this:

issuekey = ABC-123 AND cf[10003] IS NOT EMPTY

Hello @FlixAndre ,
Thanks for helping but it is not fixing my issue.

Yes, it’s more to investigate to understand why you don’t have the result expected.

It seems the problem occurred due to a mistake I made in the code. The issue is now resolved. I’m currently testing an app I’m developing with a large number of issues, and these tests take quite some time. Because of that, even when I fix a problem, I sometimes notice it a bit late.
Thanks again for your help!

1 Like