Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Bulk changing email adress of users from different directories

Carmen Nadeau
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.
February 21, 2022

I want to be able to bulk change the emails associated to a user and have the user moved to another repository (within LDAP)

(JIRA Server) What I did in the past when a username was changed by the security team because the user was changing team, here are the facts:

  • A LDAP users repository was used
  • The user has an history (issues created, assigned and comment made by the user)
  • The security team had to change the username for another one
  • The user with his new username doesn't exist yet in JIRA

What I did was this:

  • I had this user deleted from the LDAP group used with JIRA
  • This user now exist only on the JIRA Local directory
  • I would change the username of this user
  • I would add the user to the LDAP group used with JIRA

After this the user with his new username would login with his new username and access his history

 

What I need to do with JSM Data Center

  • I will have repository OldCieA(temporarily)
  • I will have repository OldCieB (temporarily)
  • I will have a new repository NewCieC (will become the only repository)

Our users come from 2 different cie with their own domain (for the email). We will have a new identity (same username within OldCieA and OldCieB but with a new email adress for NewCieC ) with Repository NewCieC . The migration to this new identity will be done on a 6 months period, between 50-100 each week. 

What I need to do is find a recipe that will allow the user to access his JSM history. I thought I could do something like I used to do in my JIRA server instance (see at the beginning of this question)

Can this be done ? What is the best way to do this ? Can we use a script with scriptrunner or use the Rest API ?

Any help will be welcome

 

Carmen

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events