Where we can found the risk id in risk table i have seen risk id is used in many scripts.

Datha prasadred
Tera Contributor
(function executeRule(current, previous /*null when async*/ ) {
    if (!previous || (current.u_issue_rank == previous.u_issue_rank) || (current.u_issue_values == previous.u_issue_values)) {
        var riskRankCalculator = new RiskRankCalculator();
        var result = riskRankCalculator.getRiskRankDetails(current.riskId, current.impact, current.probability);
        current.risk_rank = result.rank;
        current.risk_value = result.value;
    }
})(current, previous);
4 REPLIES 4

Mark Manders
Mega Patron

It is set in the OOB AjaxRiskUtil script include (line 7). I'm not sure if your script is somehow also using this through other scripts/script includes, since yours is a custom one, looking at the custom fields in the 'if' condition.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Datha prasadred
Tera Contributor

Hi Mark,

 

Actually what we wanted to achieve is  we have OOB risk value lookup to map the impact vs probability for risk and also we do have many scripts associated to populate risk value , risk rank ,risk color so what we have done we created a dashboard for risks based on impact vs probability as shown in the screenshot. similarly we have to create dashboard for impact vs urgency for  issues but those scripts and similar configuration how can i build it is possible do it ?

You completely lost me. You asked where 'riskId' is defined and your reply to my answer is that you want a pivot table for impact/urgency on issues. What is the issue you are facing? What has 'riskId' to do with the data lookup rules of impact/urgency on issues? 


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Datha prasadred
Tera Contributor

Hello Team,

 

Please help me on this issue..