Forums » Development »
Query issues via REST API, using custom fields filtering with RegExp
Added by Joel SCHAAL almost 12 years ago
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.
Replies (3)
RE: Query issues via REST API, using custom fields filtering with RegExp - Added by Joel SCHAAL over 11 years ago
up ?
RE: Query issues via REST API, using custom fields filtering with RegExp - Added by Denny Weinberg almost 8 years ago
I found a solution for the python rest api. Maybe it helps. See https://github.com/maxtepkeev/python-redmine/issues/164
RE: Query issues via REST API, using custom fields filtering with RegExp - Added by Joel SCHAAL almost 8 years ago
Oho ! That would fulfill my need, thanks !