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:
You can restrict entered values to whatever you want.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You're welcome :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help.
can we add a validation for existing custom field ? Instead of creating new field through script filed .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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 must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.