Removing NONE from the Issue Security Drop-Down List

Usage FAQ

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

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 Removing NONE from the Issue Security Drop-Down List for a discussion on this feature request.

Atlassian does not support customisations to Velocity templates or other JIRA files. For more information about Atlassian support, see Atlassian Support Offerings.

Deploying Velocity Templates without a Restart

In a development instance, you can play with picking up velocity file changes without a restart.
From <jira-install>/atlassian-jira/WEB-INF/classes/velocity.properties:

  1. Change class.resource.loader.cache from true to false
  2. Uncomment (remove the # sign from) #velocimacro.library.autoreload=true

Keep in mind that the next time you upgrade JIRA – or need a new installation for any reason – you will have to manually copy any changes you have made to the JSPs or tempates into the new installation of JIRA. If the JSPs or templates have changed in the newer version, you will have to port your customization into them.

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
Last modified on Nov 16, 2011

Was this helpful?

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