<img height="1" width="1" style="display: none" src="https://www.facebook.com/tr?id=976470819114134&amp;ev=PageView&amp;noscript=1">

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.