Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Hi Team How to validate cascading field in both parent & Child value in using script runner

Durga Prasad June 26, 2025

Hi Team How to validate cascading field in both parent & Child value in using script runner

 

1 answer

1 accepted

1 vote
Answer accepted
Maciej Dudziak _Forgappify_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 26, 2025

Hi @Durga Prasad

To answer your question, allow me to introduce the Ultimate Validator — a feature we developed as part of the Workflow Building Blocks for Jira for Jira app. It solves your use case without requiring you to learn Jira Expressions. At the same time, the built-in Jira Expression Preview feature allows you to understand how the expression is constructed. Since you already have an app that supports Jira Expression-based validators, you can simply copy the generated expression and use it in the tool of your choice.

Here are some examples that may cover your specific cases:

1. Checking that both parent and child options are selected:

Community_26.06.2025_2.jpg

2. Validating that both parent and child exact values were selected: 

Community_26.06.2025_1.jpg

I hope it will help

Cheers

Durga Prasad June 27, 2025

Hi Maciej,

I really appreciate your Suggestion it is very useful to me.

Thanks 
Durga prasad

Durga Prasad July 27, 2025

Hi Maciej,

Good Day!!!

I hope you are doing well

I need one help for your side if we have any possible ways to validating the fields by using this plugin.

For suppose i have one field name
(ABC) single select field 
1
2
3
if  i can select value 1 then 
(XYZ) Custom field is mandatory

when i select  2 or 3
(XYZ) Custom field is non-mandatory


Please share your suggestions
I would like ready to hear


Thanks
Durga Prasad





Maciej Dudziak _Forgappify_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 28, 2025

Hi @Durga Prasad 

Yes, it is possible using the OR operator, although you need to slightly adjust the logic.
The validator should allow the transition only when the conditions are met. Therefore:

  1. Check whether "value 1" is not selected

  2. OR, if it is selected, check whether the XYZ custom field is mandatory

It will look like this:

 

Community_28.07.2025_mandatory_field_when_option_selected.png

I hope it will help!
Cheers

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events