Adding a Local Group in JIRA Results in a Connection Error to an External Directory
When adding a local group you it fails with an error.
2018-0x-xx 17:23:25,318 http-nio-9280-exec-16 ERROR user 1043x8932108x1user 255.252.255.255,127.0.0.1 / secure/admin/user/GroupBrowser!add.jspa [c.a.j.w.a.admin.user.GroupBrowser] Error occurred adding group : new_group_name com.atlassian.crowd.exception.runtime.OperationFailedException: org.springframework.transaction.CannotCre ateTransactionException: Could not create DirContext instance for transaction; nested exception is org.sp ringframework.ldap.CommunicationException: ldap.server.hostname:636; nested exception is j avax.naming.CommunicationException: ldap.server.hostname:636 [Root exception is java.net.S ocketException: Connection reset]
When adding local groups, JIRA makes sure that said group doesn't exist in external directories first. If there is a connection issue, you won't be able to add that group till it's resolved.
Make sure all external directories are accessible through JIRA, please see steps for LDAP troubleshooting, if you're still experiencing problems.