As we have discussed before, JIRA ships with some pre-defined custom field types. One such commonly used type is the Text Area field.
The Text Area field has a pre-defined width and height which is not customizable. It is often a requirement from the JIRA users to increase the size of the field either globally or for a particular custom field.
We will have a look at how to achieve this in the recipe.
Just like any other custom fields, the Text Area field is also rendered using velocity templates. From the system-customfieldtypes-plugin.xml
file, we can find out that the location of the edit template is templates/plugins/fields/edit/edit-textarea.vm
.
<customfield-type key="textarea" name="Free Text Field (unlimited text)" ............................................ <resource type="velocity" name="edit" location="templates/plugins/ fields/edit/edit-textarea.vm"/> ................................... </customfield...