Reporting on custom attributes from RTC in a RPE template
After much investigation I can not find a good example of where a custom attribute was successfully reported in a RPE template. The data schema provides "allExtenstions" which I believe to provide you access to the customer attributed but I have failed in figuring out how to actually report the value of a specific attribute within RPE. Are there any tutorials or examples I can look at?
|
3 answers
You can use the query workitem/workItem/allExtensions and use a filter or condition (displayName == attrName) to print only the specific attribute. You can refer the the sample template, where I have used a variable attrName, for which you can set the specific attribute name and generate the document.
Comments
Adam Dilling
commented Mar 13 '17, 12:26 p.m.
Thanks for the help, seems like what you provided should work but I can not get any results. I am pulling the default values form RTC with no issues, just not custom attributes. Here is what I did:
Subramanya Prasad Pilar
commented Mar 13 '17, 1:36 p.m.
Please note that "ipc_ticket_num" should be the value set to the variable and not the variable name. You can test with sample template by setting the variable value as below:
|
Perhaps, this will help... Comments
Adam Dilling
commented Mar 10 '17, 2:41 p.m.
The link to the DOORS customer attribute is close but is different for RTC in the tool. Any instructions similar for RTC specifically?
I am not aware similar article for RTC. The only information I have is https://rpeactual.com/2015/05/12/rtc-custom-attributes/
Perhaps, someone on the forum have created RTC notes and they are will to share it.
|
I believe I have solved this now and appreciate the help on this. What I found is that allExtensions do not in fact hold all custom attributes. I found that only a handful of enumerations were found here and in my tests the ones I was looking for were not. The schema has many other extensions such as stringExtensions or timestampExtensions where the attributes are defined. Certainly make it difficult to find everything but it is possible. Setting the variables and placing a condition statement did work to pull the values for the fields
|
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.