
- Post History
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
on 11-26-2018 04:34 AM
Demand Score and Project Score are calculated as:
Project / Demand Score = (10-risk_score + value_score + size_score) / 3
If you want to know how the risk_score, value_score and size_score are calculated in a demand please read this article
If you want to know how the risk_score, value_score and size_score are calculated in a project please read this article
Demand and Project Score are calculated using the Business Rules: “Compute Overall Score” for Demand/Project this business rule is calling updateOverallScore on EntityScorer Script Include that calculate risk as 10-risk (line 40)
In calculateScore on ScoreCalculator Script Includes the score is calculated as: (risk+size+value) / 3
- 8,800 Views
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi Marco,
Maybe you can help me understand this ScoreCalculator Script. My company does not want to use assessments but will score by putting their own values in the Risk, Value, and Size fields. The problem is when you just select a "T-shirt" size, the only output is default '5'. Now I notice in this function in the Score Calculator Script referencing size:
*ScoreCalculator.calculateSize = function (metrics) {
PPMDebug.log("Into ScoreCalculator.calculateSize -> " + (new JSON()).encode(metrics));
var size = 5;
if(JSUtil.notNil(metrics) && JSUtil.notNil(metrics.cost)) {
var cost = metrics.cost;
if (cost > 1000000)
size = 2;
else if (cost > 750000 && cost <= 1000000)
size = 4;
else if (cost > 500000 && cost <= 750000)
size = 6;
else if (cost > 250000 && cost <= 500000)
size = 8;
else if (cost > 0 && cost <= 250000)
size = 10;
}
PPMDebug.log("Into ScoreCalculator.calculateSize -> " + size + " | " + metrics.cost);
return size;
};
What does cost have to do with the Tshirt Size? We are not using cost, but only want to use the Size assessment script. Yet it's not being pulled from the form to calculate.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Is this still accurate in New York? I have been trying to find these script includes and business rules but to no avail.
Our "Score" field seems to be staying as zero and I cant seem to figure out why.
The script include "global.DemandUtil" seems to be setting the other scores like value, risk and size, but its not setting the total score.
Thanks in advance.
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
Hi James,
You may have resolved this now, but I ran into the same problem in Paris version. For the benefit of others, what I found was that we were missing the Compute Overall Score Business Rule and the EntityScorer and ScoreCalculator Script Includes. This was because Demand Management as a plugin had been activated on its own, separate to PPM. This probably happened a long time ago before the plugins system changed. If you activate PPM this inserts the missing scripts and seems to resolve the issue.
Cheers,
Charlotte
- Mark as Read
- Mark as New
- Bookmark
- Permalink
- Report Inappropriate Content
If we don't have PPM (No Demand Management and no Projects), but only Agile Development 2.0 (Releases, Themes, Epics, and Stories). Could we use this to help calculate the value of a Story or an Epic?