Hi all,
I am creating a transition validator with the Script Runner that shall work like this:
I have come up with the following condition in the scripted validator but I can't get the Component/s validation to work :-(
cfValues['Quick Ticket'] == null || (cfValues['Quick Ticket'] != null && issue.components != null)
It is probably really simple but I cannot figure the syntax out here.
Any suggestions are highly appreciated.
Cheers,
// Svante
I think the components part should be like the following
issue.getComponentObjects().size() != 0
Hope that works
Yep, that did the trick!
Great, thnx!
Cheers,
// Svante
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.