Project

General

Profile

Actions

Defect #17550

closed

Spent time in exported CSV is wrong

Defect #17550: Spent time in exported CSV is wrong

Added by Albano Freire de Sousa Junior over 12 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Time tracking
Target version:
-
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 3 (0 open — 3 closed)

Related to Redmine - Defect #16092: Parent/subtask: calculation of estimated hoursClosedActions
Related to Redmine - Defect #16159: Wrong calculation of spent time field on Issues reportClosedActions
Related to Redmine - Feature #11253: Total time spent from subtasks on the issue listClosedJean-Philippe LangActions

Updated by Etienne Massip over 12 years ago Actions #2

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

Updated by Toshi MARUYAMA over 12 years ago Actions #3

  • Category set to Time tracking

Updated by Heiko Robert about 12 years ago Actions #4

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

Updated by Toshi MARUYAMA about 12 years ago Actions #5

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

Updated by Toshi MARUYAMA about 12 years ago Actions #6

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

Updated by Fabrice ROBIN about 11 years ago Actions #7

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.

Updated by Toshi MARUYAMA about 11 years ago Actions #8

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

Updated by Marius BĂLTEANU almost 10 years ago Actions #9

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

Updated by Mischa The Evil almost 10 years ago Actions #10

  • Status changed from New to Needs feedback

Updated by Go MAEDA almost 10 years ago Actions #11

  • 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.

Updated by Go MAEDA almost 10 years ago Actions #12

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

Also available in: PDF Atom