* [bug#64333] fix the stage issues of metrics.

This commit is contained in:
wangzemei
2025-07-28 11:49:16 +08:00
parent 2847a92ced
commit 6d4fd785da
@@ -39,7 +39,7 @@ class rate_of_developed_story_in_execution extends baseCalc
$this->result[$execution]['all'] = 0;
}
if(!in_array($stage, array('developed', 'testing', 'tested', 'verified', 'delivering', 'delivered', 'released')) && $closedReason == 'done') $this->result[$execution]['developed'] += 1;
if(!in_array($stage, array('developed', 'testing', 'tested', 'verified', 'rejected', 'delivering', 'delivered', 'released')) && $closedReason == 'done') $this->result[$execution]['developed'] += 1;
$this->result[$execution]['all'] += 1;
}