From 6d4fd785da2cad098a2a48951505baeec164e642 Mon Sep 17 00:00:00 2001 From: wangzemei Date: Mon, 28 Jul 2025 11:49:16 +0800 Subject: [PATCH] * [bug#64333] fix the stage issues of metrics. --- .../execution/rate/rate_of_developed_story_in_execution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/metric/calc/execution/rate/rate_of_developed_story_in_execution.php b/module/metric/calc/execution/rate/rate_of_developed_story_in_execution.php index 4fecb85102..53be5610d1 100755 --- a/module/metric/calc/execution/rate/rate_of_developed_story_in_execution.php +++ b/module/metric/calc/execution/rate/rate_of_developed_story_in_execution.php @@ -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; }