Hello there!
Danilo, as of today we do not have this implemented for Confluence. We have this feature request that tackles exactly this need:
CONFSERVER-56205 | Provide API to add users to groups.
There are some options to REST API though. One of them is Bob Swift CLI:
Bob Swift CLI - Atlassian Marketplace
With it you can use commands such as:
addUserToGroup(String token, String username, String groupname)
The other option is to perform this operation via Crowd:
"https://crowd-url/crowd/group/user/direct?groupname=group&username=user" { "name": "user" }
You can check more information on this here:
Crowd - Add User As Direct Group Member
Crowd is another Atlassian application that focuses on user management. You can take a look here:
Looking forward to your reply!
CONFSERVER-56205 | Provide API to add users to groups.
Can you please let us know the ETA on the above feature.
This is a very important feature which should have been existing since we have moved from Confluence XML-SOAP rpc to REST API
In Confluence XML-SOAP RPC we have functions to add user to group but since its deprecated and replaced by REST API the same should have been present in REST API before deprecating Confluence XML-SOAP RPC
I don't see a reason as why a confluence user should spent extra money for managing users. REST API should be updated with the basic admin operations (Like Update , Delete users , Update , Delete groups)
Please have a look and assist us in having this feature in REST API as early as possible
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello there! Thanks for sharing your questions with us @Harshit Singhvi .
Currently, we do not have a Roadmap to share about this feature suggestion. You can take a look at Atlassian's Policy here:
Let us know your thoughts Harshit!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the information. I understand that we have to follow the policies and bring the above change accordingly.
But shouldn't before deprecating something (XML-SOAP RPC) all the deprecated functions should be implemented in the new REST API architecture ?
Since it seems the above is going to take time can you please provide an example implemented in Java to use Confluence SOAP / XML RPC to add a user to group or any different example which explains the Java implementation of Confluence SOAP / XML RPC ?
Also if you could do anything in pushing the implementation of this feature as early as possible it would be of great help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you please help with your reply to the above
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.