Remove NONE from the Issue Security drop-down list

Still need help?

The Atlassian Community is here for you.

Ask the community

The information on this page relates to customizations in JIRA Applications. Consequently, Atlassian Support cannot guarantee the provision of any support for the steps described on this page as customizations are not covered under Atlassian Support Offerings. Please be aware that this material is provided for your information only and that you use it at your own risk.

Also, please be aware that customizations done by directly modifying files are not included in the upgrade process. These modifications will need to be reapplied manually on the upgraded instance.

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 - Getting issue details... STATUS  for a discussion on this feature request.

  1. This workaround will apply to all Security drop-down lists in the instance.
  2. Ensure that the Velocity file is backed up before changing it.

To remove the field

  1. Open the file <atlassian-jira/WEB-INF/classes/templates/jira/issue/field/securitylevel-edit.vm for editing.
  2. Delete the following lines:

    <option value="$!noneLevelId"
        #if ($noneLevelId && $security && $security == $noneLevelId )selected#end
        >$i18n.getText('common.words.none')</option>
    
Last modified on Feb 19, 2016

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.