How to get repository totals through the REST API
![]()
I am looking to get the following through the API interface:
Total: Work Items Build Results Change Sets Build Definitions Unfortunately, the following pull up paged reports without listing the total results: https://SERVER:PORT/jazz/rpt/repository/workitem?fields=workitem/workItem/* https://SERVER:PORT/jazz/rpt/repository/build?fields=build/buildResult/* https://SERVER:PORT/jazz/rpt/repository/scm?fields=scm/changeSet/* https://SERVER:PORT/jazz/rpt/repository/build?fields=build/buildDefinition/* When responding, please note that these are based on the whole repository and are not linked to a specific query or project. I need to keep it that way. I am pulling data from the repository as a whole, not a project. Is there perhaps a way to inquire on a set of details/totals for a given repository? |
One answer
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
I am fairly certain this cannot be achieved through the REST API, but maybe someone will prove me wrong. If you use the Data Warehouse this should be a simple task, although the counts are only as up to date as when you last ran the ETL.