Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

JMWE Build your own Validator - Custom field can only be 20 or less characters (alphanumeric)

Tyler Stephens
Contributor
March 25, 2026

I am trying to build a custom validator check if a field is 20 or less characters, looking for some help. Thanks!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
4 votes
Answer accepted
Aaron Pavez _ServiceRocket_
Community Champion
March 25, 2026

Hi @Tyler Stephens 

Try this in your workflow. jira expression:

!issue.customfield_10053 || issue.customfield_10053.length <= 20

then add a message: max chars 20!!

Change the ID to your field ID.

This will check if the field is less than 20 chars.

Regards

Tyler Stephens
Contributor
March 25, 2026

That worked, thanks!

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events