Adding the character limit to the specified fields

Params March 21, 2024

Hi

I like to Implement a character limitation for my multitext custom field, which will restrict 600 characters during create / Edit  of the any issue type. 

 

I can perform using the Workflow validator, but it restrict only when the issue is created. 

 

I like to know is there any way i can restrict characters in custom field.

2 answers

0 votes
Leonel Goitia October 9, 2024

Hi, I did solve this issue using Forms. Here you got to the validation menu & set a limit.

image.png

0 votes
Aron Gombas _Midori_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
March 22, 2024

You can check regular expressions against field values using Behaviors:

https://community.atlassian.com/t5/App-Central-questions/Use-Behaviour-to-enforce-regex-on-text-custom-field/qaq-p/1482978

You can use this technique with a regular expression that counts the number of characters in the string.

Params April 17, 2024

I tried regular expression in Workflow Validator when the issue is getting created, but the validation applied to all the issue type. This worked as expected for that custom field with default error message. But issue was when the user select another issue type where this field is not mapped, it restricts the user to create the issue. 

 

Is there any other option to restrict the character for a custom field in either case Create and Edit. But i have a limitation to download any new licensed plugins (third party app). 

I appreciate your help to overcome this issue. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events