Project

General

Profile

Query issues via REST API, using custom fields filtering with RegExp

Added by Joel SCHAAL almost 12 years ago

I posted this question on the wrong forum, I guess, so I try it in this one :

Hello,

I am querying a list of issues using a custom field like the following :

http://www.redmine.org/issues.xml?project_id=redmine&cf_2=Fixed&limit=100

But I would like to perform the same search using regular expressions like the following :

http://www.redmine.org/issues.xml?project_id=redmine&cf_2=*ix*&limit=100

What I get are all the issues where the custom field is set, not where the custom field's value is everything like *ix*.

I see that if I perform the following search :

http://www.redmine.org/issues.xml?project_id=redmine&cf_2=Fixed|Wont%20fix&limit=100

I get the expected result (custom field's value is either Fixed or Wont fix), so there is some regular expression handling.
But that is not exactly what I am looking for.

So am I doing something wrong or is it something not available (yet ;) ?

Thank you,
Joel.