Need to validate values of few fields before submission

S
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.
June 17, 2012

We want to validate values of few fields before submitting form. How we can do that.

1 answer

0 votes
Mizan
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.
June 17, 2012

There are many ways of doing this , I would suggest using script runner plugin , script validator

S
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.
June 17, 2012

Script runner plugin only works during workflow. My requirement is I want to create customsed script for only validating issues for particular issue type during create and edit issues.

Mizan
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.
June 17, 2012

Ok , so you need to validate fields only if a particular issue type is selected .

You will have to write a javascript which will check the issue type and based on that validate the field on create and edit issue . and paste this script in the field description

You can even have a look at the Behaviours plugin

Suggest an answer

Log in or Sign up to answer