It is possible to script filed in JIRA using script runner ?
Hi!
Never used a script runner but have similar tasks. This free add-on helps me a lot:
Unique Regex Custom Field
You can restrict entered values to whatever you want.
Yes, you can write a Behaviour that would block people entering anything smaller than 0, or write a validator that can say "if issue.getCustomFieldByName("My number") < 0 return false". Obviously, you'll want to make that a bit more pretty with feedback and so on.
Thank you so much
Thanks for your help.can we add a validation for existing custom field ? Instead of creating new field through script filed .
You don't need to validate scripted fields, because they have no way for users to enter data into them. They contain calculated values for display only.
For a standard custom field, yes, you can do it with Behaviours or a validator script.
You're welcome
It looks like you're new here. Sign in or register to get started.