JIRA 5.1 : Removing NONE from the Issue Security Drop-Down List

There are some instances where the 'NONE' in the Issue Security Drop-Down list must be removed. By default in JIRA you cannot do this from the web interface. See JRA-5332 for a discussion on this feature request.

The page _Velocity_Template_Customisation does not exist.

This workaround will apply to all Security drop-down lists in the instance.

To remove the field, edit <atlassian-jira/WEB-INF/classes/templates/jira/issue/field/securitylevel-edit.vm. Delete the lines:

<option value="$!noneLevelId"
        #if ($noneLevelId && $security && $security == $noneLevelId )selected#end
        >$i18n.getText('common.words.none')</option>

Make sure to back up the velocity file before changing it. Keep in mind the notes from Modifying JIRA Templates and JSPs​.

RELATED PAGES
No content found for label(s) jira-custom-velocity.