Project

General

Profile

Actions

Defect #20218

closed

Wrong calculation of spent time in issues dashboard if nested tasks

Added by Stephane Evr over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

- Create a Task "Parent task 1", and log some time (5 hours)
- Create a subtask of "Parent task 1" (let's call it "subtask 1.1"), and log some time (7 hours)

Here is what we get on their respective page (which is correct):

Parent task 1:

subtask 1.1:

And what we see on the dashboard:

Expected: Spent time on parent task 1.1 should be 12 hours


Files

subtask_1.1.png (13.7 KB) subtask_1.1.png Stephane Evr, 2015-07-01 10:40
parent_task_1.png (18.3 KB) parent_task_1.png Stephane Evr, 2015-07-01 10:40
dashboard.png (18.3 KB) dashboard.png Stephane Evr, 2015-07-01 10:40
Actions #1

Updated by Stephane Evr over 9 years ago

Update: Environment

Environment:
  Redmine version                3.0.1.stable.14155
  Ruby version                   2.2.1-p85 (2015-02-26) [x86_64-linux]
  Rails version                  4.2.1
  Environment                    production
  Database adapter               Mysql2
SCM:
  Subversion                     1.8.8
  Git                            1.9.1
  Filesystem                     
Actions #2

Updated by Jean-Philippe Lang over 9 years ago

  • Category set to Time tracking
  • Status changed from New to Closed
  • Resolution set to Duplicate

The issue list only shows the hours logged against the issue, not the total spent time including subtasks.
Same as #12610, feature request: #11253.

Actions #3

Updated by Jean-Philippe Lang over 9 years ago

Note that 3.1 will display: "5h00 (Total: 12h00)" on the parent task view.

Actions

Also available in: Atom PDF