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: 

Documentation for standard Jira tables

Collin Marsden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2019

We are running Jira on prem and are looking into reporting off of the Jira DB. We are still in the discovery phase of this project. Does documentation currently exist on what standard tables exist, fields in the tables, field descriptions, primary keys, foreign keys, etc.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

1 vote
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.
January 17, 2019

This is a spectacularly bad idea.  Jira databases are not a database, they're just a data store, and they simply are not built for reporting, and you should be looking at Apps that improve/add reporting and understand the data for you.  Or even, just using the REST API.  (I've managed to build a query that needed 200 joins to get the same data I could get from a 200 character REST call)

If you insist, then three pieces of advice:

  • Prepare to spend a lot of time building and then maintaining partially incomplete data dictionaries.  A lot.
  • Do not report off the production database.  Replicate it and report off a slave.  Then it won't matter to production users when you run a horrendous query that cripples the performance
  • Start digging at https://developer.atlassian.com/server/jira/platform/database-schema/
Collin Marsden
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2019

Perhaps we are not using Jira to it's full potential then, as only 170 tables have any data in them at all. The majority of the data rests in about 30 tables.

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.
January 17, 2019

Oh, you could be, that sounds about right for an off-the-shelf Jira.  It's not the tables that are the problem though, it's the logic you'll need to extract what you need.

Random example - imagine an issue with a summary, assignee and three components set.  A simple read of just that data and nothing else needs 8 joins if you want the data as its displayed (or one REST call)

TAGS
AUG Leaders

Atlassian Community Events