It's all about the answers!

Ask a question

RTC workitem example for Rational Publishing Engine


James Sullivan (1521842) | asked Aug 01 '16, 9:51 a.m.
We are following the documentation for an RTC workitem reported to Rational Publishing Engine, but we are not getting results. Is there an example of list objects and queries?

One answer



permanent link
Subramanya Prasad Pilar (4.6k16) | answered Aug 01 '16, 12:56 p.m.
edited Aug 01 '16, 1:02 p.m.
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.

Comments
James Sullivan commented Aug 01 '16, 3:57 p.m.

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


Subramanya Prasad Pilar commented Aug 02 '16, 2:54 a.m.

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.

Your answer


Register or to post 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.