Project

General

Profile

Actions

Defect #22831

closed

Rest api no longer return estimated time ,hours spent for master tickets

Added by Filip Endris almost 8 years ago. Updated over 7 years ago.

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

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

Since we upgraded from 1.2.xx to 3.2.1 (this major update is the reason i cant provide version which broke this feature) I can no longer retrieve spent time and estimated time for master tickets this is what i get ->
<estimated_hours/>
<spent_hours>0.0</spent_hours>
the ticket itself of course have more than 0 in both fields


Related issues

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

Actions
Actions #1

Updated by Toshi MARUYAMA almost 8 years ago

  • Status changed from New to Needs feedback

Please see submissions.

Actions #2

Updated by Filip Endris almost 8 years ago

Using rest api issues

Environment:
Redmine version 3.2.1.stable.15362
Ruby version 2.1.9-p490 (2016-03-30) [x86_64-linux]
Rails version 4.2.5.2
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Git 1.7.1
Filesystem
Redmine plugins:
no plugin installed
Server version: 10.1.13-MariaDB MariaDB Server

Actions #3

Updated by Go MAEDA over 7 years ago

  • Is duplicate of Feature #21757: Add Total spent hours and Estimated hours to the REST API response added
Actions #4

Updated by Go MAEDA over 7 years ago

  • Category set to REST API
  • Status changed from Needs feedback to Closed
  • Resolution set to Duplicate

Fixed by #21757.

estimated_hours and spent_hours for a parent issue are now the value of the issue itself on Redmine 3.1 and later, not the sum of the value of subtasks.

Now you can get the summed value with total_estimated_hours and total_spent_hours on Redmine 3.3.0 and later.

Actions

Also available in: Atom PDF