I need to prevent users from selecting more than one component when creating new tickets, so I'll be able to work with auto-assignement by component according component selection.
Currently JIRA allows multi-selection for components and assigns the ticket to component lead of the last component selected on the ticket creation.
I already tested the JIRA Misc Workflow Extensions plugin and it works, however we've already purchased the Scriptrunner plugin.
I know it's possible to add a Behavior using Scriptrunner, however all examples I found here at answers are not working.
I'm working with JIRA 7.x and Scriptrunner 4.3.16.
Thanks,