It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Make Checkbox Field Mandatory Edited

So basically i haven't found a single Code that worked for me so i'm asking myself.

 

I have a checkbox wih 2 opions:

grafik.png

"done" and "not required"

i want that i can only submit the card, when i check one of the boxes.

grafik.png

 

Those are the Validators i can use, does anyone have the Code that works for my Problem?

I don't have any Plugins.

3 answers

1 accepted

0 votes
Answer accepted
Derek_Fields Community Leader Sep 16, 2019

You can use scriptrunner's Simple Script validator 

cfValues["Kick-Off with GD"] != null

 Hours of Research! Finally. Thanks alot!

@Nic_Brough__Adaptavist_I've seen you are quite active, could you help me?

Hi @Derek_Fields 

i need to submit the issue when all check boxes are checked. other wise we can't abled to close the issue.

Thanks.

Derek_Fields Community Leader Apr 27, 2020

You can still use the simple script validator. If you know the specific number of options, then you use this (this assumes that there are 4 options in the Checkbox LIst):

cfValues["My Checkbox List"].size() == 4
Like RichardA likes this

Hi @Derek_Fields its working :) Thanks.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you