REST API: Filter issues created/updated before or after specific timestamp
|Assignee:||Jean-Philippe Lang||% Done:|
The current REST API allows for simple extraction of issue details and such things. For developing a more advanced client, keeping track of a very large Redmine issue list, it's not really enough. Yes, you can simply fetch the entire issue list, but that's barbaric and evil. So why not implement a new filter, allowing the database do all of the hard work for us?
I'm quite proud of this myself. Doesn't put unneeded stress on the server if an app is fetching the entire issue list every few seconds, and allows smart external tools to skip XML parsing of a huge amount of non-updated issues. The same filter could also be added to projects, versions, relations and so on. Or maybe a combined feed where you would get them all.
#3 Updated by Jens Bäckman over 9 years ago
Hmm... That's not mentioned in the Rest API wiki page for Issues.
#4 Updated by Alex Last over 9 years ago
what about "issues created after", not just "updated on"?
actually, then best approach would be to retrieve "redmine server activity" with all (or some filtered) events within certain time period.
e.g. "show me what happened since Jan 1st" or "show me what happened with issues since Jan 1st. this info is crucial for Redmine-Redmine sync, which was requested by several people.
I submitted #10402 about this.
#8 Updated by Jean-Philippe Lang over 7 years ago
- Subject changed from REST API: Filter issues updated after specific timestamp to REST API: Filter issues created/updated before or after specific timestamp
- Status changed from New to Closed
- Assignee set to Jean-Philippe Lang
- Target version set to 2.5.0
- Resolution set to Fixed