Without using LDAP, add every new user to a named group?

How would I automatically add every new user into a particular group? (Confluence 5.3.x)

In 3.5 I could add an authenticator (https://confluence.atlassian.com/display/CONF34/Automatically+Add+LDAP+users+to+the+confluence-users+Group)

Not this is not to add to confluence-users, but rather a different group.



1 answer

Hi Martin,

You could use the Confluence CLI:


There is a method you can call to addusertogroup:


You'd need a way to trigger this job to run when a user logs in for the first time. This most likely would take a trigger on the database, possibly on the logininfo table. Any time a user logs in for the first time it should be recorded there.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 11, 2018 in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

261 views 1 4
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