Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
if(isNotNull(userBusinessValue) && isNotNull(timeCriticality) && isNotNull(riskReduction) && isNotNull(jobSize)) {
    number costOfDelay = userBusinessValue + timeCriticality + riskReduction;
    return round(costOfDelay/jobSize, 2);
}

Info

Because all the fields used in the calculation are all contained in the issue, and not on a parent, child, or linked issue, no additional triggers settings are needed for the scripted fields configuration.