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:
- issue.get("components").size() > 1
- issue.components.size > 1
Any suggestions?