Forums

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

Check if either one of 2 fields is filled before transition

Harald Heinz
Contributor
January 26, 2026

Hi, for a request type in JSM we use both, a decision maker (dropdown user selection) and decision group (user group). 
To be able to close the request, I need JSM to check if at least one of these fields was filled (= has a person or group selected). How can I best solve this?

Unfortunately, there is no native validator that lets me configure “Field A OR Field B is required” as a combined rule.

BR, Harald

2 answers

1 accepted

7 votes
Answer accepted
John Funk
Community Champion
January 26, 2026

Hi Harald,

Haven't seen that question before.  But makes sense. :-)

You might try two different transitions with different names based on the field being validated. Then add a validator to each transition for the appropriate field required. I would even add a transition screen to each transition (same screen) that shows both fields on it in case someone wants to populate both. 

mruttan
Contributor
January 26, 2026

This is the answer.  I've have used similar functionality multiple times and it works great. 

Like # people like this
Harald Heinz
Contributor
January 26, 2026

Thanks a lot @John Funk !

John Funk
Community Champion
January 27, 2026

You are very welcome!

3 votes
Christopher Yen
Community Champion
January 26, 2026

Hi @Harald Heinz , If your automation run limits permits you could use a 3rd field to be updated with a value whenever decision maker or group is filled and validate off that.

Harald Heinz
Contributor
January 26, 2026

Thanks, also a good option which I will probably take as -until now- not many automations are used.

Like Christopher Yen likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events