Hi,
I would like to implement validation at transition to ensure that at least one out of four components is specified. For example, I have components like
So, when the developer resolves his issue, he must specify at least one out of 4 first components, before sending the issue to the next step.
It is possible with JIRA?Looks like I have to play with Regular Expression Check or Universal validator?
You can use scripted validator (Script Runner plugin):
def cmp = issue.components.collect{ it.name} def r = ['binary', 'scripts', 'installer', 'server'] def result = cmp.findAll{ r.contains(it)} !result.empty
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.