The recommended method is to disable the email services, not mess with database or REST calls. REST can't do it, last time I looked, and if you did this in the database, you will need to stop Jira before you do anything anyway.
Add these to the setenv file in <jira install>/bin directory, and you'll find all your data works fine, but all calls to mail servers stop dead.
-Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true -Djira.trackback.senddisabled=true
I think that you should disable mail on Jira startup. You can find how to do it here:
https://community.atlassian.com/t5/Jira-questions/Disable-incoming-emails-after-restore/qaq-p/229712
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.