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 vote

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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

202 views 1 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