Project

General

Profile

Actions

Defect #6847

closed

Parent priorities not dropping when subtask priorities decreased.

Added by Ewan Makepeace over 13 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
2010-11-08
Due date:
% Done:

0%

Estimated time:
Resolution:
Cant reproduce
Affected version:

Description

I have the situation where a parent task has the highest level of priority (emergency in my system) yet none of the subtasks is at that level any more - and I cant manually change it either?

My version is Redmine 1.0.1.devel.4167 (MySQL)

This is the parent task:

These are the subtasks:

If the system was working as I expect, one or both of the mid level parent subtasks would be at emergency, but in fact none of the subtasks is, although it may have been in the past.


Files

parent.jpg (33.1 KB) parent.jpg Ewan Makepeace, 2010-11-08 08:26
subtasks.jpg (67.1 KB) subtasks.jpg Ewan Makepeace, 2010-11-08 08:26
issue-priorities.png (15.4 KB) issue-priorities.png Toshi MARUYAMA, 2013-04-11 14:17
Priorities.PNG (7.5 KB) Priorities.PNG Chris Moser, 2013-04-11 14:26

Related issues

Related to Redmine - Feature #5490: Option for independent subtask priority/start date/due date/done ratioClosedJean-Philippe Lang2010-05-10

Actions
Related to Redmine - Defect #5880: Only consider open subtasks when computing the priority of a parent issueClosedJean-Philippe Lang2010-07-14

Actions
Actions #1

Updated by Andreas Bosch over 13 years ago

+1 - related to #5490

The current priority handling of parent tasks does not make much sense. Also see this forum post of mine (including an example in the Redmine Demo).

If the parent task should depend on its child tasks at all (see this comment no. 13 for alternatives), I suggest to make its priority equal to the highest priority of all open sub-tasks. Same applies to start/due date and so on.

Actions #2

Updated by Anton Nepomnyaschih over 13 years ago

+1

Actions #3

Updated by txemi M about 13 years ago

+1 - I would like to see this in combination with Andreas Bosch's proposal to let configure per parent inheritance mode.

Actions #4

Updated by Mischa The Evil over 12 years ago

Andreas Bosch wrote:

+1 - related to #5490

The current priority handling of parent tasks does not make much sense. Also see this forum post of mine (including an example in the Redmine Demo).

If the parent task should depend on its child tasks at all (see this comment no. 13 for alternatives), I suggest to make its priority equal to the highest priority of all open sub-tasks. Same applies to start/due date and so on.

Andreas, this whole comment is related to issue #5880 instead of this issue.

Actions #5

Updated by Mischa The Evil over 12 years ago

  • Category set to Issues
  • Status changed from New to Closed
  • Resolution set to Cant reproduce

Ewan Makepeace wrote:

I have the situation where a parent task has the highest level of priority (emergency in my system) yet none of the subtasks is at that level any more - and I cant manually change it either?

Ewan, I have been trying to reproduce this defect on a current source:/trunk@7838 but haven't succeeded. I have tried several setups but at all times the parents' priority matches the highest priority of the available (open and closed, see #5880) subtasks.

Please reopen this issue if you are still able to reproduce the reported defect...

Actions #6

Updated by Chris Moser about 11 years ago

This bug is much worse reproducable with following Redmine-version:

Environment:
Redmine version 2.3.0.stable
Ruby version 1.8.7 (x86_64-linux)
Rails version 3.2.13
Environment production
Database adapter MySQL

What I did:
1) Create task_1 with priority "Normal"
2) Create subtask_1 (parent = task_1) with priority "Critical"

task_1 changes its priority automatically to "Critical"

3) Create subtask_2 (parent = task_1) with priority "Low"

task_1 changes its priority automatically to "Low" though subtask_1 is still priority "Critical"

4) change priority of subtask_2 to "Normal"

task_1 changes its priority automatically to "Normal" thoubh subtask_1 is still priority "Critical"

With this bug the priority-automatisation makes less sense I think??

Actions #7

Updated by Toshi MARUYAMA about 11 years ago

I cannot reproduce on Redmine 2.3.0.
Could you check priority order?

Actions #8

Updated by Toshi MARUYAMA about 11 years ago

  • Status changed from Closed to Reopened
Actions #9

Updated by Toshi MARUYAMA about 11 years ago

  • Status changed from Reopened to Needs feedback
Actions #10

Updated by Chris Moser about 11 years ago

Is the order of the priorities relevant?
I thought Redmine handles only with status_id in this case - therefore the text of the status shouldn't have any influence on the bahaviour of Redmine?

I have attached our priority-configuration ('Niedrig' = 'Low', 'Hoch' = 'High'):

Actions #11

Updated by Toshi MARUYAMA about 11 years ago

Redmine set parent priority with highest priority of children (#443).
source:tags/2.3.0/app/models/issue.rb#L1231

Actions #12

Updated by Chris Moser about 11 years ago

So we have to reorder our priorities in the oposite way we did.
Redmine suppose that the priorities are ordered from low to high - not the opposite way.

Thank you very much! :-)

Actions #13

Updated by Toshi MARUYAMA about 11 years ago

  • Status changed from Needs feedback to Closed

Thank you for your feedback.

Actions #14

Updated by Ewan Makepeace about 11 years ago

I missed the email when this was closed 1 year ago but have retested today and it is working now.

Actions

Also available in: Atom PDF