how to include none option to a radio button field which is marked required

Basically I need the custom field to be a required field with options yes/no. By default currently some value is selected for this field. The value should not be preselected. It should either be blank, or a none option should come up which acts as default. If the user proceeds with none, it should error saying the field is required and either yes/no should be selected.
Any solution for this requirement is highly appreciated!

4 answers

0 vote
Alex Christensen Community Champion Apr 21, 2017

It sounds like this field is configured to have a default value. If you create a radio button custom field, don't assign a default value, and make the field required, none of the values should be selected when creating an issue.

0 vote

This makes no sense.

If a field is mandatory, you are saying "you must give me a value for the field".  "none" is not a valid response.  So you really do not want that to appear as an option.

Leaving a field blank and forcing a selection is fine, and that's the behaviour JIRA goes with if you set the field mandatory but do not specify a default value for it.

0 vote
Joe Pitt Community Champion Apr 23, 2017

If you just want to verify they saw the field and picked something you need to have an option of N/A or something like that they can select indicating none of the others apply, but I picked something.

Thanks for all your responses!!!

When i create the radio button with yes/no options, by default i see "None" Option enabled and selected.
When i make the field required, the none option vanishes and the "No" Option is selected by Default. I do not want the field to preselect the value to both Yes or No.

Say, the User does not notice this field in the screen but he actually had to select "Yes" as an option. However, the field is defaulted to option "No". If the user proceeds, we would not know if the selected option was given by the user or it was because of the default value.

Please let me know if there is a way to remove the preselection from the Radio button.

Appreciate your responses.
Thanks for your help.



Joe Pitt Community Champion Apr 24, 2017

You need to remove the default value from the configuration. 

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Amir Kazemi
Posted 3 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

15 views 0 3
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you