I want to disable the Jira build-in "Email puller" and "Email processor" without having to manually disable it in the Jira GUI.
We have A Jira test environment which frequently synchronizes data from our production Jira.
This process is automatized and I want to disable this functionality because they create issues when they are enabled after a completed sync.
I tried enabling SQL query logging and reverse engineering HTTP rest calls, but I can't find anything that we can use for automation purposes.
These functions are found here:
jira_url/secure/admin/GlobalMailSettings.jspa
An SQL update query or rest api call would be sufficient to include in out automation solution.
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.