Project

General

Profile

Date fetching in redmine 1.1

Added by Miguel Sanchez about 12 years ago

Hello.

In the company i work we have installed Redmine 1.1. I'm trying to fetch issues by date through the API but the way i've found in the web just doesn't work.

If i request http://www.redmine.org/issues.xml?created_on=>=2012-01-01 then results are OK but in the case of http://ourredmine/issues.xml?created_on=>=2012-01-01 it just does not return a single result, so I think the problem here is i'm introducing the parameter in a wrong way. I've tried so many ways and the only url that returns me the expected stuff is one of this type:

http://ourredmine/issues.xml?fields[]=created_on&operators[created_on]=%3Et-&values[created_on][]=7 that is a dirty way to do this simple thing.

I think that possibly in 1.1 the Issue api worked in a different way when fetching by dates, but i haven't find the right documentation.

Please, excuse my poor english.

Cheers,
Miguel.