mirror of
https://we.phorge.it/source/phorge.git
synced 2025-02-02 01:48:23 +01:00
Make the top-level burndown chart in "Maniphest > Reports" show open tasks, not total tasks
Summary: Ref T13279. See PHI1491. Currently, the top-level "Burnup Rate" chart in Maniphest shows total created tasks above the X-axis, without adjusting for closures. This is unintended and not very useful. The filtered-by-project charts show the right value (cumulative open tasks, i.e. open minus close). Change the value to aggregate creation events and status change events. Test Plan: Viewed top-level chart, saw the value no longer monotonically increasing. Maniphest Tasks: T13279 Differential Revision: https://secure.phabricator.com/D20879
This commit is contained in:
parent
114166dd32
commit
9d8cdce8e1
1 changed files with 5 additions and 1 deletions
|
@ -53,7 +53,11 @@ final class PhabricatorProjectBurndownChartEngine
|
|||
$open_function = $this->newFunction(
|
||||
array(
|
||||
'accumulate',
|
||||
array('fact', 'tasks.open-count.create'),
|
||||
array(
|
||||
'sum',
|
||||
array('fact', 'tasks.open-count.create'),
|
||||
array('fact', 'tasks.open-count.status'),
|
||||
),
|
||||
));
|
||||
|
||||
$closed_function = $this->newFunction(
|
||||
|
|
Loading…
Add table
Reference in a new issue