I am trying to assign values to different dropdowns, and then multiply the value of two different dropdowns together. I have created lookup tables for them both,
I want then to multiply the value from each table to give me a quantified risk score. Do I need to create a variable for each thing, or can I just lookup from these tables? At the moment, my next step is:
Sorry for all these questions. I'm quite new to automation still.
Hey @Lana Kelly
no need to be sorry. Your questions are totally fine - and I think you're close to the solution yourself. It's a good idea to use lookup tables for defining the numerical value for both of the fields.
In the Edit Issue step, you only need to modify your smart value, so that it takes the value from the fields and looks it up in the tables. I think, this one should work:
{{#=}}{{SeverityTable.get(issue.Severity)}} * {{LikelihoodTable.get(issue.Likelihood)}}{{/}}
All the best with your automation,
Matthias.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Matthias Gaiser _K15t_ im trying to a very similar thing but Im getting stuck. I have a multi select list of questions that I would like to apply a weighted score based on how the user answers. Im struggling to get the Priority Score field to populate at all let alone sum the values the user selects. Any help would be amazing!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also tried it without a lookup but im getting an odd error.
{{#=}}
{{#if(issue.customfield_10295.value.contains("Is the issue present on all vehicles?"))}}20{{/}}
+
{{#if(issue.customfield_10295.value.contains("Is the issue present on all models?"))}}50{{/}}
+
{{#if(issue.customfield_10295.value.contains("Does the issue result in a model being banned?"))}}100{{/}}
{{/}}
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.