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
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 Friday 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...

327 views 17 10
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