Hi, I have a file with predefined User IDs and its associated Email IDs listed, now I want to update the User IDs to Email IDs in bulk. How can this be done using Bob Swift CLI.
I can use updateUser action to update a single User ID but how multiple User IDs can be updated in bulk?.
Please help me with this...
Thanks for posting your requirement!
We are from the Bobswift support team and we have created a support ticket for your request. Please access the Support request https://bobswift.atlassian.net/servicedesk/customer/portal/1/SUPPORT-5518 and once you signup, please let us know your username so that we can add you to the reporter of the support request.
To modify userId's in bulk, please use the CLI action as given below.
--action runFromCsv --file updateuser.csv --common "-a updateUser"
and modify the column name for the email address in your CSV file as "newUserId". Please see the screenshot below for your reference.
The action will update the UserId's of the respective users mentioned in the CSV file with the corresponding email addresses from the file.
Please let us know if you have any questions.
No Sanjana, I have tried the solution present in the link, but I am getting the error saying: 'xargs' is not recognized as internal or external command, after running below line:
cat data.txt | xargs -n 2 sh -c './jira.sh --server https://SERVER --user USER --password PASSWORD --action updateUser --userId $0 --userEmail $1'
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event