Feature #19921
closed
Issue priority with subtasks : not with closed issues
Added by Jérôme BATAILLE over 10 years ago.
Updated about 10 years ago.
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.
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")
Hi, can you review this feature that is pretty straightforward ?
- Status changed from New to Closed
- Resolution set to Duplicate
Closing as a duplicate of #5880.
- Is duplicate of Defect #5880: Only consider open subtasks when computing the priority of a parent issue added
Also available in: Atom
PDF