Change Risk Assessment - UI policies in the assessment

joshua_bice
Giga Expert

Hey guys,

I'm wondering if it's possible to set conditions/UI policies in the Change Risk Assessment itself, i.e. "If answer is X, show field Y". If anyone has done something similar to this, I'd love to hear how. I'm not expecting much, but it would be great if I could do this.

Thanks in advance!

EDIT:

I don't know if I'm being clear enough in my initial post. I have the Risk Assessment plugin installed and working just fine. However, I need to make some fields in the assessment(s) based on other fields in the same assessment. Essentially, if the question asks "Was this first released to a non-production environment" and the end user answers "yes", I need it to then display another question like "Was end user testing done?". If they answer "no", the second question should never appear.

Generally this kind of functionality is a base part of the system (UI policies), but I can't seem to find a way to put that into the Change Risk Assessment module.

16 REPLIES 16

That's what I thought as well, but there's nowhere to put client scripts or UI policies on a risk assessment--at least that I can find. Can you possibly tell me where to go to set up client scripts and/or UI policies on a risk assessment?


Right click on the banner ->configure then you will see both UI policies and client scripts


dipatchett
Kilo Contributor

Did you find an answer to this Joshua? I find I'm needing to do the same thing.



I think that the previous responders, though extremely helpful, either didn't appreciate the the assessment questions are on a separate table to the assessment itself, or I didn't quite understand how to implement what they are suggesting.



The questions are separate records on the assessment_question table rather than different fields on the same record. My understanding is that UI Policies and Client Scripts can work on a table record using values from fields on that record for the condition to determine whether to show / hide other fields on the same record. Assessment questions have a different structure in that each question is a separate record.



How can we use a UI policy or Client Script to make one question mandatory based on the response to another? I do hope there is a way...


I ended up having to create multiple risk assessments based on different conditions. It's not an ideal solution, though.



In other words, I'm afraid not.


Hi Joshua, I am working on a similar requirement. May I know how you've set this up please? A screenshot would be greatly appreciated Thanks - Regina