🚀 JWT 3.0 is out 🚀 

The app was completely overhauled, and so was the documentation: Jira Workflow Toolbox (Server/Data Center) Home

The page you are viewing is still valid for all app versions prior to 3.0.

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

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 an Radio Button with possible values "Yes" and "No". Field code is %{13000}. This field is optional, since it can't be set at issue creation, but we want to be enforce it to be set in a certain transition screen, i.e., we want require a value for this field in 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 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