Project

General

Profile

Actions

Feature #14717

closed

API value for spent_hours does not include the sum of the spent_hours of the subtasks

Added by David Spackman over 10 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
REST API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate

Description

When querying an issue with the REST API (http://www.redmine.org/projects/redmine/wiki/Rest_Issues#Showing-an-issue) the value returned for spent_hours does not include the sum of the spent_hours of the subtasks.

This behaviour is different to estimated_time (which does show the sum of the estimates of the subtasks)

It would also be good to return spent hours when listing all Redmine issues (http://www.redmine.org/projects/redmine/wiki/Rest_Issues#Listing-issues)


Files

Spent_hours_API_Patch.diff (1.09 KB) Spent_hours_API_Patch.diff David Spackman, 2013-08-20 02:57

Related issues

Is duplicate of Redmine - Feature #21757: Add Total spent hours and Estimated hours to the REST API responseClosedJean-Philippe Lang

Actions
Actions

Also available in: Atom PDF