REST API: Filter issues according to date
Added by Markus Korber about 1 year ago
Hi,
is it somehow possible to request all tickets between a start and end date via the REST API without fetching the entire issue list and doing the filtering manually afterwards?
Thanks!
Replies (4)
RE: REST API: Filter issues according to date - Added by Andrey Grechin about 1 year ago
Yes, it is possible with construction like http://www.redmine.org/issues.xml?tracker_id=1&created_on=>=2012-02-01&created_on=<=2012-02-15
RE: REST API: Filter issues according to date - Added by Markus Korber about 1 year ago
Thanks. Do you know where I can find this in the documentation?
Nevertheless, this doesn't really work:
http://www.redmine.org/issues.xml?created_on=>=2012-03-01&created_on=<=2012-03-01returns far too many issues. It seems that Redmine uses only the last "created_on" filter and not both.
RE: REST API: Filter issues according to date - Added by Andrey Grechin about 1 year ago
hmmm... there are really too many results)
Do you know where I can find this in the documentation?
No, i learned this at random...
RE: REST API: Filter issues according to date - Added by Jeffrey Clark about 1 year ago
Try this:
/issues.xml?created_on=><2012-03-01|2012-03-01
(1-4/4)