Forums

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

How to add a validator to check that text in field does not match default value?

Katherine Dougherty
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 24, 2018

We have a field for Client Notes that has a default value (multi-line) that is an example of what that field should be populated with. I want to add a validator to the transition to a certain status (I know how to add validator) to check that the text in that field does NOT match the default text. Basically trying to make sure that the person actually populates this field and doesn't just leave default value. 

1 answer

0 votes
Ivan Tovbin
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.
April 24, 2018

Hi Katherine,

If you have add-ons like Scriptrunner or JMWE you can write a scripted validator, which will do exactly what you've described.

Suggest an answer

Log in or Sign up to answer