Actions
Feature #19921
closedIssue priority with subtasks : not with closed issues
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Issues
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Duplicate
Description
The issue priority calculation is the max of the priorities of issue and it subtasks.
It should not take in account the closed subtasks.
Related issues
Updated by Jérôme BATAILLE about 9 years ago
Could be implemented like this :
priority_position = p.children.joins(:priority).includes(:status).where("#{IssueStatus.table_name}.is_closed = 0").
maximum("#{IssuePriority.table_name}.position")
Updated by Jérôme BATAILLE about 9 years ago
Hi, can you review this feature that is pretty straightforward ?
Updated by Go MAEDA over 8 years ago
- Status changed from New to Closed
- Resolution set to Duplicate
Closing as a duplicate of #5880.
Updated by Go MAEDA over 8 years ago
- Is duplicate of Defect #5880: Only consider open subtasks when computing the priority of a parent issue added
Actions