I am trying to block the creation of an issue if more than one component is selected. Using the Groovy Script Runner validator on the create transition, I have tried he following conditions, but neither have worked:
Any suggestions?
Did you tried?
issue.componentObjects.size()
Henning
I set the condition to the following...
issue.getComponentObjects().size() == 1
...and it worked great! Thanks Henning.
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.