Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Based on a custom field value another custom field should be set as required using validators

I have two custom fields A(number filed) & B(date field). if value of custom field A is not null then custom field B is required, if value of custom field A is null then custom field B is not required, want to accomplish this by writing a simple scripted validator.

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Marc Minten _EVS_
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.
Mar 11, 2019

Hi, scripted validators are for... validating field values (just before the issue is saved). Not for setting field behaviors (required, ...) which should be applied when a form is opened or a field value is changed.

The solution ? Use scriptrunner Behaviors for setting the behavior (required or not) of field B, every time field A is modified...

@Nic Brough [Adaptavist] do you have any ideas on this or know someone who does?

AUG Leaders

Atlassian Community Events