Change email in Projexts with database request Edited

Hi guys,

could you please tell me how to change a custom email in projects by using database request.

I mean from what we could see here: https://jira.contoso.com/servicedesk/admin/MYPROJECT/email-settings/

In other words I need to change email address in the "Email address" (gmail email for example) field to another one by using database (postgres) request.

Thanks in advance!

1 answer

1 accepted

0 votes

Do not do it.

Changing a Jira database with SQL is asking for massive pain and trouble.  Please, do this via the correct route - in the UI

This is for our jira stage instance. We are restoring it from production every night using bash script (from production database dump and from home folder backup) and we need to be sure that our jira stage will not get any letters which belong to production.

Could you please tell me, you know how to do it?

For this case, I would not bother.

I'd disable the email as per standard dev/test setup - see section 1 on https://confluence.atlassian.com/adminjiraserver073/restoring-data-from-an-xml-backup-861253849.html#Restoringdatafromanxmlbackup-disableemail

Thank you, but his option will disable all notifications. There no other way to adjust only email to save notifications, but be sure that Jira test will not take any letters that was created for Jira prod?

It's a test system.  You really do want all the email disabled, as it will be indistinguishable from production email.

The method outlined in the doc does not disable notifications though, it just stops polling and sending at the very last point.

But, if you do want to only disable some of the mail processing, look at the individual flags in the strings

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,861 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot