Defect #18943
closed
REST API does not return spent_hours when listing issues
Added by Leonardo Pacheco almost 10 years ago.
Updated over 3 years ago.
Description
When you query the REST API for a specific item, it returns spent_hours for that item. When you query the REST API to list all items, it doesn't.
Files
The attached patch solves the issue.
- Status changed from New to Resolved
It seems the problem was discusse in the past and the original issue argues that maybe adding this information will be too resource intensive on the server.
http://www.redmine.org/issues/5303
- Related to Feature #5303: Add spent_hours to /issues/index API added
- Is duplicate of Feature #34857: Add total estimated hours, spent hours, total spent hours for issues to issue list API added
- Status changed from Resolved to Closed
- Resolution set to Duplicate
It has been implemented by #34857 and will be available in Redmine 5.0.0.
Also available in: Atom
PDF