Automatically export Worktitems
2 answers
You should investigate the reportable REST API: https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI
This is what is used to populate the data warehouse via RRDI or Insight. A REST call such as this:
https://<host:port>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=123]/(id|summary|itemHistory/comments/content)
will return the id and summary of the workitem, as well as all comment contents from each version of the workitem for workitem 123. The API is quite powerful and you can customize the sample REST call above to return more attributes from more workitems and include search predicates (including based on modified date) so that you are not retrieving the full contents of your repository every time you run it.
This is what is used to populate the data warehouse via RRDI or Insight. A REST call such as this:
https://<host:port>/ccm/rpt/repository/workitem?fields=workitem/workItem[id=123]/(id|summary|itemHistory/comments/content)
will return the id and summary of the workitem, as well as all comment contents from each version of the workitem for workitem 123. The API is quite powerful and you can customize the sample REST call above to return more attributes from more workitems and include search predicates (including based on modified date) so that you are not retrieving the full contents of your repository every time you run it.
Comments
Fabien Araktingi
Apr 17 '14, 12:18 p.m.sam detweiler
Apr 17 '14, 12:22 p.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Apr 28 '14, 8:21 a.m.sam detweiler
Apr 28 '14, 8:29 a.m.