This page last changed on Jun 11, 2009 by estumpf.

There are some instances where the 'NONE' in every select list needs to be removed. By default in Jira you cannot do this from the web interface, however this is a workaround to this. In order to achieve this, you will have to edit a velocity template - /WEB-INF/classes/templates/plugins/fields/edit/edit-select.vm. In the source, delete the indicated lines:

...
<select name="$customField.id" id="$customField.id">
#if (!$fieldLayoutItem || $fieldLayoutItem.required == false
<option value="-1">$i18n.getText("common.words.none")</option>
#else
<option value="">$i18n.getText("common.words.none")</option>
#end
#foreach ($option in $configs.options)
<option value="$textutils.htmlEncode($option.value)"
#if ($value && $value == $option.value)selected#end
>$option.value</option>
#end
</select>

Make sure to back up the velocity file before changing it and to keep in mind the notes here.

Document generated by Confluence on Oct 06, 2009 00:26