alexmonteiro / Redmine-Monitoring-Controlling

Redmine Plugin that works with Highcharts to show tasks on project throught Charts.
Other
131 stars 79 forks source link

limit Status to current Workflows! #114

Open DarkSideGeek opened 8 years ago

DarkSideGeek commented 8 years ago

We have several workflows in play, not purely for S/W Development. Generally speaking, a workflow for another dept such as Legal will never be active within a Dev project (and vice versa). Yet the M&C charts display all possible Status, even if the relevant workflows that use those Status are not enabled for the Project. The end result is a pie chart with an unwieldy number of 0% Status labels, ones that should never be seen because they belong to Workflows that are not applicable.

Rather than "foreach Status", M&C should do something like "foreach Status in each enabledWorkflow".