Hi, can a field be set to mandatory based on the value entered for another field without the use of a plug-in?
For example, if 'Cross Team Issue' field is selected "Yes" then make 'Delivery Date' field mandatory, otherwise leave as optional.
Not without a plug-in, no.
Only a few plug-ins (apps) can help with that, such as JMWE (our app) or ScriptRunner.
Thanks David. What is the best way to do this in JMWE?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use the "Field Required (JMWE app)" Validator and use "conditional validation" to activate the validator based on the value entered for another field, for example:
!!issue.priority && issue.priority.name == "Blocker"
would make the selected field mandatory only if the issue's priority is "Blocker"
The Jira expressions editor and its help system will help you write the conditional validation script.
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.