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
Community showcase
Posted Thursday in Confluence

What are your project planning tips?

Hello Community,  Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...

145 views 0 3
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