Project

General

Profile

Actions

Defect #17550

closed

Spent time in exported CSV is wrong

Added by Albano Freire de Sousa Junior over 9 years ago. Updated about 7 years ago.

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

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When choose column spent time to show in issues list, spent time value is correct, which is the sum of spent time of all children and itself.
But in the exported CSV, the spent time value is only of itself, not children.


Files

spent_time.png (64.3 KB) spent_time.png Marius BĂLTEANU, 2016-12-18 17:19

Related issues

Related to Redmine - Defect #16092: Parent/subtask: calculation of estimated hoursClosed

Actions
Related to Redmine - Defect #16159: Wrong calculation of spent time field on Issues reportClosed

Actions
Related to Redmine - Feature #11253: Total time spent from subtasks on the issue listClosedJean-Philippe Lang

Actions
Actions #2

Updated by Etienne Massip over 9 years ago

I'm sorry Thanh, it looks like I removed the wrong issue.

Actions #3

Updated by Toshi MARUYAMA over 9 years ago

  • Category set to Time tracking
Actions #4

Updated by Heiko Robert over 9 years ago

I disagree - in the list view only the time booked to the master ticket is shown. In the ticket details page the sum of master plus alls subtickets are shown. Similar to #16092 the sum of all time entries should be saved in a separate field to be able see correct time sums in list view as expected and to support correct sums in (csv-)exports.
So I would vote for:
  • time spent on this ticket (independant of parent or not)
  • time spent on all sub (and sub-sub...) tickets only calculated if ticket has no parent_id
Actions #5

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #16092: Parent/subtask: calculation of estimated hours added
Actions #6

Updated by Toshi MARUYAMA over 9 years ago

  • Related to Defect #16159: Wrong calculation of spent time field on Issues report added
Actions #7

Updated by Fabrice ROBIN over 8 years ago

Jean-Philippe,

The commit r14273, which has been merged into the 3.1 branch, introduced an error as a "h" label is hard-coded in the function l_hours_short:

"%.2f h" % hours.to_f

This label should be translated through i18n. Asian users will surely report this anomaly.

Actions #8

Updated by Toshi MARUYAMA over 8 years ago

Fabrice ROBIN wrote:

Jean-Philippe,

The commit r14273, which has been merged into the 3.1 branch, introduced an error as a "h" label is hard-coded in the function l_hours_short: [...]

This label should be translated through i18n. Asian users will surely report this anomaly.

FTR: #21069

Actions #9

Updated by Marius BĂLTEANU over 7 years ago

Both columns (Spent time and Total spent time) are available now in the CSV export.

Actions #10

Updated by Mischa The Evil over 7 years ago

  • Status changed from New to Needs feedback
Actions #11

Updated by Go MAEDA about 7 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Fixed

Fixed in Redmine 3.1 (#11253).
A parent issue displays its own spent time and total spent time.

Actions #12

Updated by Go MAEDA about 7 years ago

  • Related to Feature #11253: Total time spent from subtasks on the issue list added
Actions

Also available in: Atom PDF