Use Risk Register rating to make custom fields mandatory

I’m brand new to ScriptRunner, but need to implement a way to require the entry of 2 custom text field values whenever the Risk Register plug in has a risk rating that’s not empty. Specifically, a Risk Name, and a Risk Justification.

The script library does not appear to have examples of this, so I’m hoping someone in the community has something I can leverage to minimize my own fumbling about. This shouldn’t be unique to the Risk Register plug in, it’s just an example of a field value to use as a trigger for making other fields required.

Hi @rtwickham . As behaviours don’t exist yet on cloud, the only way to do that is to create some validations on the transitions to don’t allow the issue move until these mandatory fields are populated.

I hope this can help.
Thanks, Ivan.