Forums

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

How to set character limits on a custom field?

Amy Nguyen March 22, 2019

Hi, 

I am trying to set a character limit on a custom field to be less than 750 characters. It could be from 1 character up to 750 characters including special characters like $, %,.... This is the regular expression I used but it did not work

[A-z a-z 0-9]{1,750}

What am I missing? 

Thank you!

Amy

1 answer

0 votes
Mike Rathwell
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 22, 2019

Hi @Amy Nguyen 

I'm not sure where you are setting that as it's not a "default" Jira field. I'm also assuming Jira server with this suggestion but have a look at Regex Custom Fields plugin for Jira Server. I use it for just this kind of thing in my instance.

https://marketplace.atlassian.com/apps/1211043/unique-regex-custom-field?hosting=server&tab=overview

Amy Nguyen March 27, 2019

I am setting a validator during the create transition using "Regular Expression Check (JSU). 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events