Hi,
I'm using ScriptRunner Validator.
I have 2 fields:
- field A (type: Labels)
- field B (type: Labels)
At least one of the two is mandatory.
So, If A is not set check if B is set.
If B is not set the validator should block the transition.
How to do this?
The condition into the validator script is the following one:
A!=null || B!=null
and does not work by REST API call.
If I passed B the validator script blocks the transition.