Hi Team,
I am trying to calculate a risk score using a smart value.
This risk score is the multiplication of 4 different values.
Easy, except if one of the values is 0.
Here is the automation :
And here is my smart value calucation :
{{#=}} {{issue.Menace.value}} * {{issue.Vulnérabilité.value}} * {{issue.Impact.value}} * {{issue.Vraisemblance.value}} {{/}}
What could I do to prevent this ? Is there a way I can ask Jira to "disregard" a field in which the value is 0 ?
Thanks beforehand !
Valérie
Hi Valerie,
I guess the simple answer would be to not allow a value of 0.
Hi @Valerie Blondel ,
anything multiplied by zero is always going to be zero. Your formula seems to be working perfectly.
If you don't want to consider the zero than any field which is zero just change it to 1. This should serve your purpose.
Just check if any of the 4 fields are 0 or not. If they are change them to 1. The rest should be same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @John Funk and @Najm Polaris
Thanks for taking the time to answer me.
I would have preferred to keep the 0, but I can live without it.
Now comes the difficult part (for me of course, just starting with Jira smart values)
Automation working well :
What I am trying to achieve :
==> If the « Total risk score » field does change, in any « Processus IT » issue in the project, I would like the « IT Indice de risque total » to be automatically adapted in all the issues of the project (IT issues and HR issues).
==> If the « Total risk score » field does change, in any « Ressources Humaines » issue of the project, I would like the « RH indice de risque total » to be automatically adapted in all the issues of the project (IT issues and HR issues).
I have more than 100 issues in the project, but less than 100 issues IT, and less than 100 issues RH.
Do you think it could be done ? Or am dreaming too big ?
Thanks a lot,
Valérie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would try to do one at a time - whichever one is needed for the base. Try to create your rule and then we can troubleshoot from there.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.