Group does not exist error when adding a user to Group

Still need help?

The Atlassian Community is here for you.

Ask the community


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 atlassian-jira.log.


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.

  1. 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);

    (info) The above queries are designed with respect to Postgres database. You might need to change the queries to suit your database.

  2. After this, restart JIRA.

(info) Please see our Troubleshooting LDAP User Management documentation for further assistance with diagnosing LDAP problems.

Last modified on Nov 2, 2018

Was this helpful?

Provide feedback about this article
Powered by Confluence and Scroll Viewport.