+ [task#144596] add the count_of_story_in_stage_in_product metric.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
class count_of_story_in_stage_in_product extends baseCalc
|
||||
{
|
||||
public $dataset = '';
|
||||
|
||||
public $fieldList = array();
|
||||
|
||||
public $result = array();
|
||||
|
||||
public function calculate($row)
|
||||
{
|
||||
if(!isset($this->result[$row->stage])) $this->result[$row->stage] = array();
|
||||
$this->result[$row->stage][$row->id] = $row->id;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user