<img src="//bat.bing.com/action/0?ti=5129185&amp;Ver=2" height="0" width="0" style="display: none; visibility: hidden;">

JIRA: Adding a maximum character limit above 255 with Javascript

When limiting field lengths in JIRA you can only have 255 characters or an unlimited number out of the box. However, there many be times when you want the user to be able to add more then 255 characters but not more than, say, 1000 characters. The following Javascript enables the admin to limit field lengths so the field can be used as a short description field and eliminates large/unnecessary comments. Adding the following small snippet of Javascript code to the custom field description can achieve this. Please be aware that you will need to identify the custom field number which you can either inspect on the HTML or via the URL when editing the field. This custom field has a unique number throughout the JIRA. Javascript <script> tags are required around any javascript code.