Group does not exist error when adding a user to Group
JIRA is integrated with LDAP or Crowd. Upon adding a user to the group, JIRA is able to auto complete the group name in JIRA, but upon clicking 'Update', the following error appears.
There is not much indication of the error in the
There is no problem with the synchronization between the user directories. The group is present in JIRA and the user can browse to the group in JIRA.
There is a space in the group name in JIRA database. You can check this by executing the following query in the database :
SELECT group_name FROM cwd_group WHERE group_name LIKE '<Your Group Name here>%';
Always back up your data before performing any modifications to the database. If possible, test any alter, insert, update, or delete SQL commands on a staging server first.
Execute the following query to update the group name in the database
UPDATE cwd_group SET group_name = trim(both ' ' from group_name); UPDATE cwd_group SET lower_group_name = trim(both ' ' from lower_group_name);
The above queries are designed with respect to Postgres database. You might need to change the queries to suit your database.
- After this, restart JIRA.
Please see our Troubleshooting LDAP User Management documentation for further assistance with diagnosing LDAP problems.
Was this helpful?Yes Provide feedback about this article