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.
Thanks,
Reshma
Thanks a lot Reshma, this is working as per my requirement...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Vineeth,
Looks like this is what you are looking for : https://confluence.atlassian.com/jirakb/bulk-update-user-information-in-jira-server-644875261.html
--Sanjana
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.