<p>This question may be too product specifc but I'd like to know if anyone is exporting bug track data from HP Quality Center.</p>

<p>HP Quality Center (QC) has an old school COM API but I'd rather use a web service or maybe even screen scraper to export the data into an excel spreadsheet.</p>

<p>In any case, what's the best way to export bug tracking data from hosted HP Quality Center?</p>

[{'answer_id': 80813, 'author': 'granth', 'author_id': 11210, 'author_profile': 'https://Stackoverflow.com/users/11210', 'pm_score': 4, 'selected': True, 'text': '<p>You can use this QC API Code to modify bugs/requirements.</p>\n\n<pre><code>TDAPIOLELib.TDConnection connection = new TDAPIOLELib.TDConnection(); \nconnection.InitConnectionEx("http://SERVER:8080/qcbin"); \nconnection.Login("USERNAME", "PASSWORD"); \nconnection.Connect("QCDOMAIN", "QCPROJECT"); \nTDAPIOLELib.BugFactory bugFactory = connection.BugFactory as TDAPIOLELib.BugFactory; \nTDAPIOLELib.List bugList = bugFactory.NewList(""); \nforeach (TDAPIOLELib.Bug bug in bugList) \n{ \n  // View / Modify the properties \n  // bug.ID, bug.Name, etc. \n  // Save them when done \n  // bug.Post(); \n}\n</code></pre>\n'}, {'answer_id': 217898, 'author': 'JonnyGold', 'author_id': 2665, 'author_profile': 'https://Stackoverflow.com/users/2665', 'pm_score': 1, 'selected': False, 'text': "<p>Personally, I like the COM API and I use it to generate both Word and Excel reports. I have done some experiments with VS2005 and the results are encouraging.</p>\n\n<p>If you don't want to go this route, I have a couple of suggestions.</p>\n\n<ol>\n<li>If you use the charting options (Analysis > Graphs). Each graph has a tab called data grid that lets you export data to Excel and a bunch of other data formats.</li>\n<li>If you are an admin, or friendely with your admin, you can dump the whole database into access and then import into Excel. Of course, you'll loose all your table relationships, but it's better than nothing. It's also a really good way to learn the db schema.</li>\n</ol>\n"}, {'answer_id': 217944, 'author': 'Tobias Kunze', 'author_id': 6070, 'author_profile': 'https://Stackoverflow.com/users/6070', 'pm_score': 0, 'selected': False, 'text': '<p>If manual export (i.e., not using a program) is possible for you, the following will be the easiest way to export defect data.</p>\n\n<p>In QC 9.2 (maybe present in earlier versions, too), there is <code>Export/All</code> in the <code>Defects</code> menu, which exports defects in your defects grid into an Excel sheet.</p>\n\n<p>The fields exported are those shown in the defects grid, which can be customized using the "Select Columns" button (looks like a green grid).</p>\n'}, {'answer_id': 425057, 'author': 'LiorH', 'author_id': 52954, 'author_profile': 'https://Stackoverflow.com/users/52954', 'pm_score': 1, 'selected': False, 'text': "<p>Unfortunately QC doesn't expose any web-services at the moment.\nI think the easiest way would be to query the DB directly. The data you are looking for is in the project's schema in BUG table.</p>\n\n<p>QC also have an excel add-in you might want to try that, but it's mainly for adding defects from excel to QC.</p>\n"}]
['https://Stackoverflow.com/questions/79737', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/3048/']