Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Limiting Character Limit on a Text Field

Junaid Shah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 23, 2015

Hi,

 

Is there a way to limit the amount of characters that can be entered into a text field?

I have a large workflow and doing this through each transition would take too long.. Is there a possible Script or other method to limit the characters that can be entered on a text field.

 

I can't change the jira.text.field.character.limit as I want this for a single project not the entire JIRA instance.

Thank you.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Pedro Cora
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 23, 2015

Sy,

You could use JavaScript to manipulate the field only on the screens that you want: https://confluence.atlassian.com/display/JIRA/Fields+Allowing+Custom+HTML+or+JavaScript

wink

Junaid Shah
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 1, 2015

Thanks for this Pedro!, However do you have any guidelines on how I would code this? e.g. Any examples to follow? Thanks!

TAGS
AUG Leaders

Atlassian Community Events