I have a requirement where I need to calculate the bug scores.
Bug Score Equation = Bug Impact * Bug Type * Bug Likelihood
Where, Bug Impact, Bug Type and Bug Likelihood are Select List custom fields with alphanumeric values.
Eg.
5-Crash: Bug causes crash or data loss
4-Major usability: Impairs usability in key scenarios Etc
I want to calculate bug score by using the number values from the string.
Let's say if i select bug type 5-Crash: Bug causes crash or data loss , it should return value 5 and can be used in equation to calculate the bug score.
I was able to get the number value by using this :-
{{#=}}IF({{customfield_12133.value.startsWith("5")}},5,IF({{customfield_12133.value.startsWith("4")}},4,IF({{customfield_12133.value.startsWith("3")}},3,IF({{customfield_12133.value.startsWith("2")}},2,IF({{customfield_12133.value.startsWith("1")}},1,0))))){{/}}
but, how do i use this value to calculate bug score ???
Please help. Any input is greatly appreciated.
I was able to get the number value by using this :-
{{#=}}IF({{customfield_12133.value.startsWith("5")}},5,IF({{customfield_12133.value.startsWith("4")}},4,IF({{customfield_12133.value.startsWith("3")}},3,IF({{customfield_12133.value.startsWith("2")}},2,IF({{customfield_12133.value.startsWith("1")}},1,0))))){{/}}
but, how do i use this value to calculate bug score ???
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.