Issue with time logging for cross-project issues
Added by vid anges over 9 years ago
Hi,
I'm running into what seems to be a bug with time logging calculations. I hope someone can help me.
Here's the use case. I have a master project which contains a number of sub projects. All my sub projects contain a number of issues that contain several time log entries each. I have configured the settings "Allow cross-project subtask" to "With all projects".
When I create a new issue (say we call it issue #2) in project2, I can specify a parent task (say issue #1) that is located in a different project (say project 1) that is a "cousin project" of project 2 (e.g. both project 1 and project 2 are inside a same master project).
Let's say I log a time entry of 2hrs for issue #2. When I look at the issue #1 (.../issues/1), the "Spent time:" field DOES include the time logs associated with issue #2. Which is precisely what I was expecting.
However, when I click on the field that displays the amount of hours for issue #1, it opens the "Spent time" form (.../project1/issues/1/time_entries) where I CANNOT see the time log entries associated with issue #2.
And if I look at "Spent time" in the Overview form for project 1 (.../projects/project1), it does NOT contain the time entries for issue #2.
In short, "Spent time" field on the issue form (.../project1/issues/1) includes more time log entries than the ones listed when you look at the "Spent time" form (.../project1/issues/1/time_entries) or the ones included in the calculation in the project overview form (.../projects/project1).
Furthermore, if I generate a report for the time entries for project 1, I never get the time entries for issue #2 eventhough it is a subtask of issue #1 which is in project 1.
Is there a way to make sure log time entries for subtasks are always listed/included as part of their parent task, even when the parent task is in a different project?
Thanks!!
This is a duplicate of Issue with time logging for cross-project issues
This is my environment:
Environment:
Redmine version 2.5.2.stable
Ruby version 2.0.0-p353 (2013-11-22) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.10
Mercurial 2.8.1
Git 1.9.3
Filesystem
Redmine plugins:
redmine_knowledgebase 3.0.4
redmine_timesheet_plugin 0.7.0