Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

[Bob Swift CLI] addUserToGroup command is not working

Nico Strebel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 5, 2019 edited

Hello

I've just set up a new confluence server with Bob Swift CLI. I try to auto move my Active Directory users to the right confluence group with a bash script. But the following command seems to be broken:

 bash /etc/tools/atlassian-cli-8.3.0/confluence.sh --action addUserToGroup --userId "user" --group "group3" --autoGroup

 After entering this command it seems to be working and gives me the following output:

User with id 'user' added to group 'group3'.

But the grouplist confirms the user hasn't joined the group "group3".

bash /etc/tools/atlassian-cli-8.3.0/confluence.sh --action getGroupList --userId "user"

The output is the following:

2 groups in list
group1
group2

The user is still only in group1 and group2, but does not appear in group3. Does someone have any ideas what could have gone wrong? 

 

1 answer

1 accepted

0 votes
Answer accepted
Nico Strebel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
April 5, 2019

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events