Affected Version - not a custom field and mandatory - set default value


I have a non custom field called affected version on Create Bug screen which is mandatory.

By default in absence of any version it shows 'None' and create Bug screen gives error saying Affected version required.

Can someone suggest on how i can have a default value TBD and get rid of the error.

3 answers

1 votes
Mikael Sandberg Community Champion Nov 07, 2017

The Affect/s Version fields is populated by the Versions that you have defined in your project. To add values to it you need to go to your Project settings and add a Version. See for more details.

You can also make the field optional by changing your field configuration so you do not have to enter a value for Affect/s Version.

Thanks Mikael. We want our users to add affected version hence we have kept it mandatory.

0 votes

You can either modify the Field Configuration to remove the requirement for Version, or you can create a new version for the project to use within bugs.

If you are going to just be creating a dummy version to set your bugs to, you might as well remove it from the configuration. That being said, if you are going to remove it from the field configuration scheme, make sure that you aren't affecting other projects. 

This is cloud documentation for how to modify the field confiugrations, but it works for server as well.

0 votes
Alexey Matveev Community Champion Nov 07, 2017


You can make the field not mandatory and create a validator or post function where you would check if the field has a value or not.  If not you would set a default value to the field. 

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,943 views 12 18
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot