It's all about the answers!

Ask a question

RPE report to return content from one workitem

Andrew Gaspar (111) | asked Mar 26 '14, 2:02 a.m.

When using a uri like so
 "[projectArea/name='Project A']/(*/*/*/*)"
 we get back the all data for all the work items in 'Projects A'

When using a uri like so "[id=1799](/*/*/*/*)"
we get back the data for work item 1799

How can we get the a URI that has the id value as a variable entered or passed to the template at run time?

The purpose is we would like to have a word document created, as part of the work flow process in RTC, to the recipients of the document will not be RTC user and need to sign the document for legal reasons.

I am using the template file that can be found  RTC_Custom_Enumeration_Attributes.dta 
RTC 4.03
RPE 1.2.11


One answer

permanent link
Brian Fleming (1.6k11928) | answered Mar 26 '14, 12:17 p.m.
I haven't tried this exact case but I would start by creating an external variable called "id" in RPE.  Then create a container with a query of "workitem/workItem" and a native filter of 'id="${id}"' (make sure you've selected the "id" variable as being available in the Filter Editor).  You can then use a nested container to start outputting values from the workitem.

Andrew Gaspar commented Mar 27 '14, 10:54 p.m.


Thanks for your help it worked

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.