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

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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

613 views 18 16
View question

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