How to make the select-list custom field visible when the value is 'None' (not selected)
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Overview
When an Issue is created, and a Custom Field of the type 'Select list' has the value 'None' (not selected), then the custom field will not appear on the View Issue screen by default. This is because a most fields in JIRA will only be visible on the View Issue screen when it has a value. In some cases, users need to make that field stay visible on the View Issue screen.
This guide is not kept up-to-date and velocity templates will change from version-to-version. The information provided is a guide and may no longer be relevant in certain versions of JIRA.
Workaround
There is a feature request for this JRASERVER-6697 - Tabs should be displayed during issue view even when fields are empty
The current workaround removes the default 'None' value from the system and creates a new value named 'None'/'Not Available' and sets it as the default value. With this workaround, Jira will treat your custom field as if it has a value and it will be displayed on the View Issue screen.
Before you start, please note the following:
- We always recommend that you backup your data. (e.g. Backup your database and any modified files)
The content on this page includes steps to customize or extend Atlassian software (adding/changing CSS rules, HTML, JavaScript, etc.). Per the Atlassian Support Offerings, support does not include customizations made to Atlassian products. Be aware that this material is provided for your information only and using it is done so at your risk.
If you have any questions about this or any customization, please ask the community at Atlassian Answers or consider working with an Atlassian Solution Partner.
Step 1:
Remove the 'NONE' value, please refer to:
How to Remove 'NONE' from a Select List Custom Field
This action will affect all 'Select list' Custom Fields with 'None' value.
Step 2:
Add a value named 'None' or 'Not Available' for the Custom Field and set it as the default value.
Now when you create an Issue without choosing the value of the Custom Field, you will still be able to see it in the View Issue screen with a value of 'None' or 'Not Available' depending on the value used in Step 2.