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?
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.
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,
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:
If not, what is the reason you want to bulk edit the email addresses?
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG