Is it possible to bulk edit users?

We have created a JIRA test environment by copying / cloning our JIRA production environment.  We would like to change the email addresses for all users in the test environment to some dummy email address.  We could do this one user at a time but are wondering if it is possible to do it via some bulk user edit process?

5 answers

1 accepted

What i did when migrating several of our AD domains into a single AD forest was to run a recursive script through the database dump before importing it. By simply doing:

cat jira-db.sql | sed 's/@yourdomain\.com/@fakedomain\.com/g' > new.jira-db.sql

Additionally, if the only goal is making sure JIRA does not spam the users from several instances there is a line in setenv.sh that does just this. Simply uncomment:

DISABLE_NOTIFICATIONS=" -Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true -Datlassian.mail.popdisabled=true"

 

and restart jira.

 

Steven,

We had a similar issue in that we have 3 non-production environments for testing.  Dev, QA, and UAT.  Having said that our solution was to send all of the e-mail from those JIRA instances to a freeware tool called SMTP4DEV v2.0.9.  When setup correctly and JIRA pointing to it as the e-mail server you can snag all of the email JIRA generates.

 

Hope this helps,

 

Bryan

Seven,

Almost forgot.  My answer assumes you have sys admin/root access to the server JIRA runs on.

 

Bryan

What's the need to update the IDs to a dummy one? To turn off notification? If so, I suggest to try the following options first:

  • Remove the "Notification Scheme" of the projects so that no emails will be sent. You may just remove certain events or all of them
  • Update the JIRA Account's email address in bulk via the JIRA REST API (create a script to loop through them. You may use JIRACLI to simplify the process)
  • Update the SMTP address in the JIRA System config to an invalid one (ALL Emails will be disabled if you do this).

If not, what is the reason you want to bulk edit the email addresses?

hii, 

i need to change nearly 4000 employee Ids with their names  jira at one shoot , is  it possible in jira.

 

 

i need your swift help..... 

There are add-ons that can help to upload and delete users in bulk. I have added the link below. 

 https://marketplace.atlassian.com/vendors/1213530/empyra

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

89 views 0 5
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you