Project

General

Profile

Searching on custom fields with the REST API

Added by Emil Ek over 13 years ago

As the topic says i've been trying to get some issues by the using the REST API.

Everything works fine except one thing that i'm trying to do. I want to include the filtering on a custom field in the get request.

For an example http://www.redmine.org/issues.xml?tracker_id=1 works fine but how should i do to include a custom field. Making a custom query is not an option becuase the GET request for me have to be dynamic.
For example http://www.redmine.org/issues.xml?tracker_id=1&customfield_2=aDynamicValue

I've search a lot on the topic but haven't found anything about it.

Regards Emil


Replies (1)

RE: Searching on custom fields with the REST API - Added by Emil Ek over 13 years ago

Nevermind!!

After some testing and laborating i got this working http://www.redmine.org/issues.xml?tracker_id=1&cf_2=dynamicValue

/ Emil

    (1-1/1)