On this page


Example: Enforce a field (Select List) to be set when another field (Radio Button) has a certain value (works with any kind of field type)

We have two fields: "Was the reservation system down?" is a Radio Button with the two possible values "Yes" and "No". Field code is %{13000}. This field is optional, since it cannot be set at issue creation, but we want to enforce it to be set in a certain transition screen, i.e., we want to require a value for this field in the transition screen. "System root cause" is a Select List with a list of possible causes. Field code is %{13002}. This field is optional, and we want to enforce it to be set during the transition screen only in the case field "Was the reservation system down?" is "Yes", otherwise we want to enforce leaving it uninitialized. 

To implement that validation we use Boolean validator with math, date-time or text-string terms with the following configuration:


Text to be parsed is: %{13000} = "No" AND %{13002} = null OR %{13000} = "Yes" AND %{13002} != null


Once configured, transition will look like this:





Other examples of that function

Related Usage Examples