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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Seven,
Almost forgot. My answer assumes you have sys admin/root access to the server JIRA runs on.
Bryan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Steven Kahrs ,
I have written a blog post on how to bulk edit Jira user e-mail accounts.
It's based on ScriptRunner and Groovy.
Cheers!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.....
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.