Bamboo DB relations

Hi,


I am currently using an ODBC connection to the Bamboo database in order to create some analytics based on the data. I am running a MS SQLSERVER 2008 data platform for Bamboo and I am facing some issues when it comes to the relationship between the BUILDRESULTSUMMARY table and TEST_CASE and therefore TEST_CASE_RESULT table.
How are these two connected? Because apparently the connection between BUILDRESULTSUMMARY and TEST_CLASS_RESULT via BUILDRESULTSUMMARY_ID is invalid. I can elaborate, if needed, why I state that the aforementioned connection is invalid. It would be great if someone could shed some light on the connection between these two tables/columns.

Thanks,

Kmn

1 answer

0 vote
Hi,
As far as I can understand by looking at the database schema, table TEST_CLASS_RESULT is linked to table BUILDRESULTSUMMARY via column BUILDRESULTSUMMARY_ID:
SELECT * FROM test_class_result tcr, buildresultsummary brs
WHERE tcr.buildresultsummary_id = brs.buildresultsummary_id

Also, TEST_CLASS_RESULT is linked to TEST_CLASS via TEST_CLASS_ID:

SELECT * FROM test_class tc, test_class_result tcr
WHERE tc.test_class_id = tcr.test_class_id

So, joining everything in a single query:

SELECT * FROM test_class_result tcr, buildresultsummary brs, test_class tc
WHERE tcr.buildresultsummary_id = brs.buildresultsummary_id
AND tc.test_class_id = tcr.test_class_id

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot