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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.