Confluence CLI updateUser from a CSV file

I am trying to update userFullName and userEmail in Confluence. I am using the command:

./confluence.sh  --action runFromCsv --file "Confluence_Users_AUG4.csv" --common "--action updateUser" --continue

 The command appears to run successfully, but in the end, no users have been updated

Run completed successfully. 0 actions were successful from file:

 

When running in --debug mode, I these messages as it reads through the file:

(note, example data only for purpose of this ticket)

 

element: zoe_keough, headerLine: true, endOfLine: false
element: zoe.keough@abc.com, headerLine: true, endOfLine: false
element: ZOE KEOUGH, headerLine: true, endOfLine: false

 

 

I am in Confluence 5.9.12 with CLI 5.4.0

 

ANy insight would be greatly appreciated

1 answer

This widget could not be displayed.

Does you CSV file have an appropriate header line? You need column headers that match the parameters you are trying to change like "UserId", "UserFullName", "UserEmail". 

If you are still having problems, suggest opening an issue and attaching your csv file.

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

137 views 12 6
Read article

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