Bamboo DB relations


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.



1 answer

0 votes
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


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 Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

185 views 4 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