Using Jira workflow extensions, how can I validate that a custom field has a particular value?
Example:
If Custom_Field1 = ‘Yes’, then allow the transition to occur, else don’t allow the transition.
If you are using JMWE, you can us the Scripted (Groovy) Validator and just define the custom field logic in the Groovy script section.
issue.getAsString("customfield_1234") == "Yes"
Our Jira instance does not have Script Runner (Groovy) installed. So would your suggestion work? We have PowerScript (SIL) installed. 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.