Disclaimer

Direct SQL access is not supported

Accessing the database directly is neither supported nor covered by our agreement, because:

  • Any upgrade may require that you change the way to extract data,

  • You may extract wrong data,

  • SQL is hard and you may make mistakes that erase or corrupt data.

Please perform a backup of your data before editing.

Understanding the basics of our schema model

See also: Database schema for Confluence backups, Database schema for Jira backups

Table prefix

All our tables are stored with the prefix “AO_32F7CE” corresponding to the plugin key in md5.

Columns are uppercase (and may require quotes)

Most databases assume that table names are lowercase, even when you type SELECT SPACEKEY, KEY, BASELINE FROM AO_32F7CE_DBREQUIREMENT.

So you have to put double-quotes ("), or backticks in weird databases (`) : SELECT "SPACEKEY", "KEY", "BASELINE" FROM "AO_32F7CE_DBREQUIREMENT".

Our unique keys are SPACEKEY - KEY - BASELINE (3 required items)

Despite a technical ID available in all tables, which is a Long, we almost always use the 3 values above to reference requirements. Don’t omit to include all 3 parameters, even if the baseline is often null!

Example: Table AO_32F7CE_DBREQUIREMENT

*Primary key

In Jira, the primary key has 4 identifiers, by necessity of being a remote app: APPLINKID, SPACEKEY, KEY, BASELINE.

Confluence database schema

Jira database schema

In Jira, there are 4 identifiers for requirements, since we add the APPLINKID.

All our tables are stored with the prefix “AO_42D05A” in Jira.

Generic metadata

A lot of tables have the following fields: