[#623] Can I use the REST API to search/get a client based on the value of a custom client field?

Migrated from Redmine #623 | Author: Tom Robinson
Status: Closed | Priority: High, I’m very impatient | Created: 2020-12-10


I’ve enabled the client fields feature, created a client (using the API) with a value for that custom client field. I can see from both the API and the admin UI that the value has been stored as expected.

Can I use the REST API to search/get a client based on the value of a custom client field?

This doesn’t work (the value of the field is 0001):

/admin/clients?page=1&on_page=10&filter[search]=0001

If I search for them by email (for example), it does work.

Dmytro Bondarev wrote:

Hi! Unfortunately currently it is not possible.

Tom Robinson wrote:

Dmitry Bondarev wrote:

Hi! Unfortunately currently it is not possible.
Has this changed since I last raised it? Or is there any plan for it to?

Redmine Admin wrote:

unfortunately no. There is search by custom booking fields (intake forms plugin) but not for client fields