Some custom fields are configured and they are in production now. So while creating an issue, if a user enters a value in one custom field, i want to prompt him to fill another custom field on click of create button if he doesn't enter any value to the second custom field. What are the possible ways to handle this requirement and which is the easiest way?
Hi Srinivas ,
There might be many better ways to do this , but according to me the easiest way would be to create a groovy script validator(requires script runner plugin) which checks the 2 customfield if there is a value in first customfield and not in the second, then an error message which will prompt to fill the second customfield. And add this validator on the create step/transition.
Hi Mizan,
Sounds like apt solution for my requirement. Appreciate if you could share some links or steps related to this requirement as i have no idea about groovy script validator configurations.
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
these are few links you will find useful
about script runner plugin in the below link
https://studio.plugins.atlassian.com/wiki/display/GRV/Script+Runner
there is a similar script in the below link
https://studio.plugins.atlassian.com/wiki/display/GRV/Validators
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mizan,
Thanks for sharing the information.
Will try to work out this and post an update on the status.
Thanks..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.