We want to validate values of few fields before submitting form. How we can do that.
There are many ways of doing this , I would suggest using script runner plugin , script validator
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Discover how Atlassian is revolutionizing service management with cutting-edge solutions for AI-powered support, HR Service Management, or DevOps connectivity.
Register here ⬇️Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.