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

This widget could not be displayed.
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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

115 views 2 0
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