Forums

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

How to set Min/Max values Number custom fields

Sreenatha Reddy J
Contributor
August 2, 2022
  • I have a number custom field called "Current Monthly Revenue" and I would like to set the Min value to that field, means if I set a min value as 1 lakh then, if anybody enter the value below 1 lakh then field should not accept and should give a error message like "Field Value should not less than 1 lakh". Please help me with the resolution to achieve my requirement.

2 answers

0 votes
Aditya Sastry
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.
August 2, 2022

Hi Sreenatha,

You can try the below and see if it works.

1. Set an initializer behavior to copy the value of "Current Monthly Revenue" to a temp field

2. On field change of "Current Monthly Revenue", set the behaviour to compare the value with the temp field and send error if it is below the value.

Let me know if it works.

Thanks,

Aditya

0 votes
Magda August 2, 2022

Hi! You can use Validators (Uniwersal Validator, ScriptRunner validator) on transition workflow, where you can check field value and show message.

Suggest an answer

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

Atlassian Community Events