Unable to add external directory user to local group in Jira server
Platform notice: Server and Data Center only. This article only applies to Atlassian products on the Server and Data Center platforms.
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
When trying to add users coming from external directories to local JIRA group, unsuccessful.
When making the following actions::
- First time setup
When trying to amend a user's Application Access, following error is shown
The user has no application access and won't be able to log in until added to an applicatio
- When trying to add the user to a group
The following appears in the atlassian-jira.log
2016-01-28 13:11:55,477 http-nio-8080-exec-8 ERROR nfletcher 791x3327x1 57bva4 172.24.12.52 /rest/internal/2/viewuser/application/jira-software [c.a.p.r.c.error.jersey.ThrowableExceptionMapper] Uncaught exception thrown by REST service: Group <jira-users> does not exist
com.atlassian.crowd.exception.runtime.GroupNotFoundException: Group <jira-users> does not exist
at com.atlassian.crowd.embedded.core.CrowdServiceImpl.addUserToGroup(CrowdServiceImpl.java:730)
at com.atlassian.crowd.embedded.core.DelegatingCrowdService.addUserToGroup(DelegatingCrowdService.java:193)
Diagnosis
Environment
- First time setup for external directories
Diagnostic Steps
- Adding JIRA's internal directory users to any group, doesn't result to any problem
Cause
Wrong directory type is chosen. Using Read/Write type instead of Read-Only with Local Group
Resolution
Change the directory type to Read-Only with Local Group