Defect #31587

Time Entries REST API user_id parameter doesn't work

Added by Serhiy Valchuk over 3 years ago. Updated about 3 years ago.

Status:Needs feedbackStart date:
Priority:NormalDue date:
Assignee:-% Done:


Category:REST API
Target version:-
Resolution: Affected version:2.1.2


I'm trying to use Time Entries REST API and it works as expected except user_id parameter.

When I tried to get time entries https://myredmine/time_entries.json?key=mykey&from=2019-06-01&to=2019-06-30&limit=5&user_id=5 I'm getting time entries of all existing users.

Any suggestions?


#1 Updated by Go MAEDA about 3 years ago

  • Status changed from New to Needs feedback

I cannot reproduce the issue with Redmine 4.0.5.devel.19345. The following request returns time entries of user_id 2.

curl 'http://redmine-trunk.test/time_entries.json?from=2000-01-01&to=2019-12-31&user_id=2'

Also available in: Atom PDF