JIRA 4.3 : Changing the Size and Content of the Components Select List
This page last changed on Feb 08, 2010 by jlargman.
This page describes how to increase the size of the Components drop-down list. Please see JRA-3028 for the full feature request.
Deploying Velocity Templates without a RestartIn a development instance, you can play with picking up velocity file changes without a restart.
Increasing the size of the fieldEdit <atlassian-jira/WEB-INF/classes/templates/jira/issue/field/components-edit.vm. Change the line: <select multiple name="$field.id" id="$field.id" size="#if ($components.size() > 3 ) 5 #else 3 #end"> For example, if you wanted to make it 15 (in the case where there are more than 3): <select multiple name="$field.id" id="$field.id" size="#if ($components.size() > 3 ) 15 #else 3 #end"> Adding a DescriptionFrom <atlassian-jira/WEB-INF/classes/templates/jira/issue/field/components-edit.vm, change: >$textutils.htmlEncode($component.getString('name'))</option> to: >$textutils.htmlEncode($component.getString('name')) - $textutils.htmlEncode($component.getString('description'))</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 |
![]() |
Document generated by Confluence on Mar 27, 2011 18:51 |