Which Foreign Key constraints does JIRA enforce in the Database (MySQL)?

We have recently converted a JIRA 4.1 Installation from using MyISAM to using InnoDB. When doing the same for Confluence, foreign key constraints have to be added. However, it seems that a fresh installation of JIRA 4.1 does not create any foreign key constraints at all.

When upgrading to 6.0, only a few constraints are created for Active Objects, but none for "internal" JIRA Tables.

The information on the web is very slim, only a pdf by a third party can be found easyily, which claims that "the JIRA database does not enforce foreign keys and does not actually use the same data type for foreign keys in all cases".

Is that correct? Do I need to create no foreign key constraints after switching from MyISAM to InnoDB?

1 answer

no, you haven't ... The correlations were implemented internally in JIRA

I am willing to accept the answer if

  1. You reformulate "no, you haven't" - that is no sentence and has no reference to the question
  2. You give a reference

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 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...

21,942 views 2 7
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