My company got bought by another company. We are migrating people's addresses from say a@b.com to c@d.com
Rather than having to go to every bloody user page and go through the 1000 steps to update a single piece of data, is there a way to feed a list of names and addresses to change? Maybe old address, new address in CSV format?
I should mention its not just a domain change, the naming convention has changed as well.
Hi @Rob Horan,
This is definitely possible and much easier when you have a CSV to read from.
Using the REST API - write a script that reads the CSV and makes a update call to Jira.
For example a PUT request to
/rest/api/2/user?username=oldusername
with this data
{"Name":"newusername","EmailAddress":"newemail@email.com"}
Let me know of any questions.
Can this be done for Crowd?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.
Crowd as well has this endpoint .. that updates a user
PUT/user?username=USERNAME
Updates a user
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.