CustomField And ScriptRunner Behaviours

Gebremeskel Ambasager Tetemke
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 18, 2018

I have two customfields: X and Y. The fields are dependent to each other; when X is populated with invalid data, Y becomes required field and X will be hidden. The same is true for X. When Y is  populated with invalid data, X becomes required field. If both are populated with invalid data, then take Y as valid and X becomes optional field. To do this, I tried to use Behaviour but couldn't do it. When I provided invalid data to X, Y didn't change to required field. the same is true for X.

1 answer

0 votes
Mark Markov
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 19, 2018

Hello @Gebremeskel Ambasager Tetemke

Where are you place you code? 

It must be placed on field X and Y, and not initialiser.

Initialiser runs only once when form loaded.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events