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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How can I limit the number range for a number custom field to 1-50?

Hello everyone

I have already been digging the net but cannot seem to find the correct script so I'd appreciate any help:

How can I limit the range of input values for a number custom field to 0-50? Must be some regular expression like ^([1-9]|[1-5][0-9])$ but I cannot get this to work since I have no programming skills at all. :-(

Many thanks

1 answer

0 votes

Hi, ^([1-9]|[1-4][0-9]|50)$ - is correct regexp)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Marketplace Apps & Integrations

5 mobile apps for Jira Cloud to boost productivity

  It’s very important to have access to the workflow process from anywhere. Especially if you manage the work of others. There is no difference whether you’re out of office, or drive a ca...

209 views 2 5
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you