Project

General

Profile

Parent task end date is not changing when subtask is rejected

Added by Sergei Naumov 6 months ago

Hi!
I have a parent task with a lot of subtasks one of which is rejected. It just so happened that this particular rejected subtask ends a way later than the others. However, the end date of the parent task is still set from the rejected one. Is there any way to change this behaviour? In other words, eliminate rejected tasks from calculating dates in parent ones?

Thanks.


Replies (5)

RE: Parent task end date is not changing when subtask is rejected - Added by Bernhard Rohloff 6 months ago

Hi Sergei,

the staus 'rejected' is just what it is, a status. The status of an issue doesn't affect the time calculations. One has to clear the end date of the rejected task to get a proper calculation of the parent task.
You can find further information about the relations between subtasks and the parent task in the wiki article RedmineIssues

Kind regards,
Bernhard

RE: Parent task end date is not changing when subtask is rejected - Added by Mischa The Evil 6 months ago

Bernhard Rohloff wrote in RE: Parent task end date is not changing when subtask is ...:

[...]
You can find further information about the relations between subtasks and the parent task in the wiki article RedmineIssues

FWIW: RedmineIssues#Relations-between-the-parent-task-and-its-subtasks is outdated with regards to the current behavior of the priority/start date/due date/done ratio attributes (r14269 & r14270 for #5490) and the estimated/spent hours (r14272 for #16092 & r14273 for #17550).

RE: Parent task end date is not changing when subtask is rejected - Added by Sergei Naumov 6 months ago

But as far as I can see, this patch is not applied. Such a functionality does not exist as of 5.0.4 which I am using...

RE: Parent task end date is not changing when subtask is rejected - Added by Mischa The Evil 6 months ago

Sergei Naumov wrote in RE: Parent task end date is not changing when subtask is ...:

But as far as I can see, this patch is not applied. Such a functionality does not exist as of 5.0.4 which I am using...

I don't get it. What patch do you mean? And what functionality do you mean?

As Bernhard explained in RE: Parent task end date is not changing when subtask is ..., "the status of an issue doesn't affect the time calculations. One has to clear the end date of the rejected task to get a proper calculation of the parent task.".

The four changes I referenced in my previous post, specifically in response to Bernhard's additional reference to RedmineIssues#Relations-between-the-parent-task-and-its-subtasks in RE: Parent task end date is not changing when subtask is ..., are all included in Redmine 3.1.0 and beyond.

    (1-5/5)