From 6d69affa073d291bb3e7bbb15990699b7cf7e1cc Mon Sep 17 00:00:00 2001 From: wangzemei Date: Fri, 20 Jun 2025 15:01:27 +0800 Subject: [PATCH] * [bug#63523] fix the metric of developed story. --- .../execution/scale/count_of_developed_story_in_execution.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/metric/calc/execution/scale/count_of_developed_story_in_execution.php b/module/metric/calc/execution/scale/count_of_developed_story_in_execution.php index dd19996ff1..3735a1a2ec 100755 --- a/module/metric/calc/execution/scale/count_of_developed_story_in_execution.php +++ b/module/metric/calc/execution/scale/count_of_developed_story_in_execution.php @@ -35,7 +35,7 @@ class count_of_developed_story_in_execution extends baseCalc if(!isset($this->result[$execution])) $this->result[$execution] = 0; if(in_array($stage, array('developed', 'testing', 'tested', 'verified', 'delivering', 'delivered', 'released'))) $this->result[$execution] += 1; - if($closedReason) $this->result[$execution] += 1; + if($closedReason == 'done') $this->result[$execution] += 1; } public function getResult($options = array())