On this page


Use case

Check whether a Select List (cascading) field has a parent or a child value in the transitioned issue.

This use case is valid for both conditions and validators. The only difference is that you can specify an additional error message when using a validator.


Configuration

Jira expression*

issue?.customfield_aaaaa != null && issue?.customfield_aaaaa.child != null

The custom field must contain both a parent and a child value.

Please, replace the ID of the field codes with the corresponding one of your fields before using the expression.

Variations

Alternative expressions to make this field required.

Jira expression*

issue?.customfield_aaaaa != null ? issue?.customfield_aaaaa.child != null : true

The custom field must contain a child value only if the field contains a parent value.

Jira expression*

issue?.customfield_aaaaa.value != null

The custom field must contain a parent value. The child value is optional.

Related examples

If you still have questions, feel free to refer to our support team.