Documentation for JIRA 4.0. Documentation for other versions of JIRA is available too.
This page describes how to increase the size of the Components drop-down list. Please see JRA-3028 for the full feature request.
Please note that Customisations to Velocity templates or other JIRA files are not included in the scope of Atlassian Support.
This workaround will apply to all Components drop-down lists in the instance.
Edit <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">
From <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.
There is no content with the specified labels