The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

Disable Email Sending & Receiving During Upgrade

Matt Neilson
March 25, 2013

Hello,

I'm working to upgrade our Jira instance, and I am following the migration path. I have a test server that I've installed the target version (5.2) and am about to start my new instance. I'm at step 3.5 of the migration guide (https://confluence.atlassian.com/display/JIRA052/Migrating+JIRA+to+Another+Server), but want to make sure that sending emails and fetching emails are disabled.

The previous step says to follow the steps in Restoring Data (https://confluence.atlassian.com/display/JIRA052/Restoring+Data). Now unless I'm misunderstanding Step 1, it looks like those are changes when JIRA is not running as a service, however my instance is setup to run as a service. (setenv.bat specifically states the settings have no effect when JIRA runs as a service)

Should I be performing this step by starting JIRA manually by running the start-jira.bat script? Or are there different steps to follow (perhaps setting the Environment Variable at the OS level??) and I can run it as a service?

I just want to make sure I disable them correctly so as to not screw up our production environment (fetching emails) or confusing end users (sending emails).

Thanks!

Matt

2 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

1 vote
Answer accepted
Matt Neilson
March 27, 2013

I finally found this article today after I had pretty much completed my migration...

https://confluence.atlassian.com/display/JIRA/Setting+Properties+and+Options+on+Startup#SettingPropertiesandOptionsonStartup-SettingPropertiesforWindowsServicesviaCommandLine

It even references the three specific flags at the bottom of the page! Why was this link not available on the Restoring Data page?!? I guess I'll go comment there.

Matt Neilson
March 31, 2013

I found that this is linked on the most up-to-date version of the article. So I guess it's my own fault for looking at the version that I was upgrading to??

https://confluence.atlassian.com/display/JIRA/Restoring+Data

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
March 25, 2013

I set these three environment variables. Doesn't matter exactly how it's run (service, etc), but if these three are set in the environment, it will not send email, check for incoming mail, or follow up on "trackbacks". In older versions, I'd look at setenv.bat, but I'm not sure how the environment is handled in windows services.

-Datlassian.mail.senddisabled=true -Datlassian.mail.fetchdisabled=true -Djira.trackback.senddisabled=true

Daniel Varela Santoalla
Contributor
June 7, 2018

Hi, do we know if this also applies to JIRA Service Desk?

Sonny Singh
July 9, 2018

Hi @Daniel Varela Santoalla

It should be the same for JIRA Service Desk as it is basically JIRA.

TAGS
AUG Leaders

Atlassian Community Events