Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Clear the default value of a custom field

zhaoyawei April 23, 2018

Clear the default value of a custom field

4 answers

1 vote
Alexandre Slove November 27, 2023

There must be a bug in Jira, since there is no option to set it to None in the list. As a workaround you can do the following to clear the default value:

  • Create new value for the custom field
  • Set this new value as the default
  • Delete the new value
Nic Brough -Adaptavist-
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.
November 27, 2023

There's no bug in Jira, and there's no need for this "workaround" - and it actually breaks your data, as well as not being needed because there's nothing to work around.  This has not changed in 20 years, let alone the last five since the question was asked.

Alexandre Slove December 18, 2023

 

As you can see in the newer posts, we are multiple people experiencing this issue.

I am using Jira v8.14.1 (released in 2020), and when I go to Administration -> custom fields ->  <Some Field> -> Edit Default Value

I don't see any "None" option listed, and if I click on the selected value, it doesn't unselect it.

Hence it is not possible to clear the default value and I call it a bug.

The only workaround I found is the one I suggested. Why is it going to break any data since I create a new value, that won't be associated to any issue, before setting it as default and then removing it?

If you have any better suggestion on how to do this properly, I would be more than happy to know it.

Like Ramona Popa likes this
Nic Brough -Adaptavist-
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.
December 18, 2023

Because a value called "none" is a value, so it's not empty, and it does not mean "none" - it's broken data.

I can not replicate the problem you're having, "none" is selectable as a default value on every select list field I've tried it on (at the top of the list in the configuration, it's not ordered)

Alexandre Slove December 18, 2023

Hi Nic, I think I understand where we are getting it wrong. I indeed see a "None" option for the type "Select List (single choice)".

The issue happens for the type "Select List (multiple choice)". For this type, there is no way to clear the default value.

Alexandre Slove December 18, 2023

I just did a fresh Jira install (v9.12.1) from the official Docker image, and I can confirm that I am not able to clear the default value for "Select List (multiple choice)" Custom Field.

Nic Brough -Adaptavist-
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.
December 18, 2023

I've got a 9.12 install as well, I see "none" on the list when I go to change the default.

0 votes
Alexandre Slove December 19, 2023

I have found how to clear the default value for a "Select List (multiple choice)" custom field.

When you see the list, just CTRL + Click (CMD + Click on Mac) on a selected item to make it unselected until none are selected.

This is actually explained in the Jira Knowledge base: https://confluence.atlassian.com/jirakb/unable-to-de-select-default-value-for-multi-select-custom-field-223223089.html

Abhay Patil
Contributor
July 29, 2024

Thanks a lot @Alexandre Slove - this issue looked unsolvable till I found your answer.

0 votes
Karin Schultz December 7, 2023

I'm having the same issue. There is no "None" option to use as default.

In another article is says to click the value again to unselect it, but that doesn't work either.

Had to delete the value which then cleared it from the Default.

0 votes
Nic Brough -Adaptavist-
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.
April 23, 2018

Go to the field setup under admin -> custom fields, configure the field, and remove the default.

Justin Gong October 12, 2023

I can't remove it, only assign another option. Is there a way to remove it?

Nic Brough -Adaptavist-
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.
October 12, 2023

There is an option for "none" as a default value.  Should be at the top of the list.

Michael Kornatzki
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.
March 12, 2025

Same problem with jira 9.15.2

There is a none at first, but if i set a default value i can not clear this.

Thanks for the workaround it works for me

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events