Defect #18943

REST API does not return spent_hours when listing issues

Added by Leonardo Pacheco over 6 years ago. Updated about 1 month ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:REST API
Target version:-
Resolution:Duplicate Affected version:2.6.1

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.

index.api.rsb.patch Magnifier (530 Bytes) Leonardo Pacheco, 2015-01-23 21:54


Related issues

Related to Redmine - Feature #5303: Add spent_hours to /issues/index API Closed 2010-04-13
Duplicates Redmine - Patch #34857: Add total estimated hours, spent hours, total spent hours... Closed

History

#1 Updated by Leonardo Pacheco over 6 years ago

The attached patch solves the issue.

#2 Updated by Leonardo Pacheco over 6 years ago

  • 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

#3 Updated by Toshi MARUYAMA over 6 years ago

  • Related to Feature #5303: Add spent_hours to /issues/index API added

#4 Updated by Go MAEDA about 1 month ago

  • Duplicates Patch #34857: Add total estimated hours, spent hours, total spent hours for issues to issue list API added

#5 Updated by Go MAEDA about 1 month ago

  • 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