How can I rename a Wiki group?

I need to change name of 3 groups in Wiki. I do not see an option to rename a group. Is there a way to do this anyway?

Do I need to create a group with the NEW name and add users to it and then remove the other group? (painful).

I really hope that there is a easy way.

thanks

6 answers

There's a GROUPS table, with the field GROUPNAME, in the database. As long as no other tables key off that field (and I don't think any do), you should be able to change it there.

Matthew,

This is definitely not a good idea!

The table "groups" seems to be a legacy group which is no longer used in Confluence. Confluence uses now a table called "cwd_group" to store groups.

Unfortunately, there are other tables which use group-names (instead of IDs) to reference groups: There are at least two that I know of: "SPACEPERMISSIONS" and "CONTENT_PERM". And there might be even more tables which contain group-names.

Cheers,

Thomas

So to solve this issue; Is there any easy way to add memebers of one group to a new group. (The existing groups have more than 100 memebers)

You could try to get the list of users of the first group into a comma separated file using the User List Macro.

In a second step you can add the users from that list to the new group using Bob Swifts Confluence Command Line Interface.

Hi,

Unfortunately until now there's no straight forward way to do so. It has been raised as Improvement request here: CONF-9159 and its related improvement request in JIRA: JRA-1391. I would suggest you to delete the group and recreate again for now, as it's the easiest and safest way. We don't recommend you to change it from database side as there are a lot of mapping between the content and permission to the group. If the group is in the LDAP, you could rename it from there, and re sync it back to Confluence. Hope this helps.

-Josua

Matthew,

This is definitely not a good idea!

The table "groups" seems to be a legacy group which is no longer used in Confluence. Confluence uses now a table called "cwd_group" to store groups.

Unfortunately, there are other tables which use group-names (instead of IDs) to reference groups: There are at least two that I know of: "SPACEPERMISSIONS" and "CONTENT_PERM". And there might be even more tables which contain group-names.

Cheers,

Thomas

A further quesion on this:

If I delete the existing group and add a new one, along with the users from the deleted group, will this affect any contributions the users have made?

I can't imagine it, but want it confirmed before I do anything drastic and undoable. :)

Cheers.

No, this has no affect on any content these users have made.

Thomas, thanks. :)

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

2,908 views 27 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you