RTC workitem example for Rational Publishing Engine
One answer
You may refer https://teamgreenridge.wordpress.com/2011/05/27/reporting-in-rational-team-concert-3-via-rest-part-ii/
Normally in the document specification, for RTC Workitems schema you should set Data Source URI as https://server:port/ccm/rpt/repository/workitem
If you want to retrieve details of single WorkItem, you can use Data Source URI like https://server:port/ccm/rpt/repository/workitem/workItem/id/12345
Since data source schema type is set as REST, providing fields parameter is not required (as RPE calculates fields parameter based on the template).
If you want to generate document through RTC web UI, you should configure the template as mentioned in https://rpeactual.com/2015/12/18/configuring-rpe-template-to-generate-documents-from-rtc/
Note that in RPE 2.1 onwards, you can find OOTB templates for RTC in %rpe_home%\templates\RTC
Please let us know if you need a sample template along with document specification.
Normally in the document specification, for RTC Workitems schema you should set Data Source URI as https://server:port/ccm/rpt/repository/workitem
If you want to retrieve details of single WorkItem, you can use Data Source URI like https://server:port/ccm/rpt/repository/workitem/workItem/id/12345
Since data source schema type is set as REST, providing fields parameter is not required (as RPE calculates fields parameter based on the template).
If you want to generate document through RTC web UI, you should configure the template as mentioned in https://rpeactual.com/2015/12/18/configuring-rpe-template-to-generate-documents-from-rtc/
Note that in RPE 2.1 onwards, you can find OOTB templates for RTC in %rpe_home%\templates\RTC
Please let us know if you need a sample template along with document specification.
Comments
Subramanya:
Thanks the data source appears to be working, but now we are getting a "Cannot access the OAuthentication URL" error. Please send the RTC template to jim@arcisphere.com
You can try the sample template - For "workitem" data source, you can set URI as "https://server:port/ccm/rpt/repository/workitem" and set the values for variables plannedFor and projectAreaName (or else default variable values used for filtering).
If you still face issues, you can mail the template with console/log to subra.prasad@in.ibm.com.