Where are the JIRA System Settings stored in the database?

My team periodically brings production data to our integration servers by dumping the database. We do some scripting to make sure the links and such from the production data reflect the new integration environment. I'd like to add shutting off email to this script so every time we clone the data the email doesn't get turned on. Would anyone know in what table the system settings are stored?

1 answer

1 accepted

This widget could not be displayed.
Rachel Wright Community Champion Apr 24, 2017

Hi Mark,

I only know the answer to part of your question.  You're able to turn mail on or off from the JIRA Admin Console on the following page:  Admin > System > Outgoing Mail.  Additionally, and more useful in your scenario, you can set a flag in a config file. 

There's some more info about this method here: https://community.atlassian.com/t5/JIRA-questions/JIRA-QUEUE-Warning-Sending-mail-is-disabled/qaq-p/165247 and here: https://confluence.atlassian.com/adminjiraserver073/setting-properties-and-options-on-startup-861253969.html  (Look for the string: "Mail property")

Important: Make sure there's no trailing space at the end of the flag!

Here's a screenshot of how it looks in the UI when mail is disabled with this method.

disabled-mail.png

I'm not aware of an additional database variable.  (That doesn't mean it doesn't exist however.)

Hope something in here helps you!

Rachel Wright

This looks like the preferred way. Atlassian also made it simple. All you've got to do is uncomment the "DISABLE_NOTIFICATIONS" variable in setenv.sh when you're standing up your second instance. 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted yesterday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

57 views 0 1
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