Confluence CLI updateUser from a CSV file

Jeanne Howe
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 3, 2016

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

0 votes
Bob Swift OSS (Bob Swift Atlassian Apps)
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 4, 2016

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
TAGS
AUG Leaders

Atlassian Community Events