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.
At the American Academy of Family Physicians, siloed marketing teams faced delays and duplicate work. Kerrie Gottschalk shook things up by moving the department to Jira, streamlining processes, boosting visibility, and sparking stronger collaboration.
Read the story
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.