Hi Team How to validate cascading field in both parent & Child value in using script runner
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:
2. Validating that both parent and child exact values were selected:
I hope it will help
Cheers
Hi Maciej,
I really appreciate your Suggestion it is very useful to me.
Thanks
Durga prasad
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
Check whether "value 1" is not selected
OR, if it is selected, check whether the XYZ custom field is mandatory
It will look like this:
I hope it will help!
Cheers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.