Forums

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

JMWE or some other tool: At least one of five fields must be filled

Jurica Petricevic
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.
March 15, 2023

Hi community,

 

in our scenario, one of the 5 fields must be filled in before the status can be switched. Is it possible and how?

 

Best regards

1 answer

1 accepted

2 votes
Answer accepted
David Fischer
Community Champion
March 15, 2023

Hi @Jurica Petricevic ,

using JMWE, you can create a Scripted (Groovy) Validator with a script like:

issue.get("Field 1") || issue.get("Field 2") || issue.get("Field 3") || issue.get("Field 4") || issue.get("Field 5") 
Jurica Petricevic
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.
March 15, 2023

@David Fischer Thank you like always my friend. Have a nice day.

Suggest an answer

Log in or Sign up to answer