Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

How to access Work Item Custom Attributes in RPE Report Templates

 Hi there,

When viewing the Work Item Schema structure in RPE, custom attributes are not shown there.  How do I go about adding a specific custom attribute into the template?

Thanks.

0 votes

Comments

Can anybody shade light on how to add custom attributes to a report template in RPE?


Thanks. 



One answer

Permanent link
The RTC work item schema provides queries based upon the type that the custom attribute actually is i.e. short/medium/long string extension, int extension, enumeration, etc.  Also note that there have been several improvements made to the work item schema from RTC 3.0.1 to present.  For example, take a look at:

https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=232011

In short, you must know the type of custom attribute as defined in your project.  Then there should be  corresponding query to that type in the work item schema as seen in an RPE template.  For each custom attribute type there are name/value pairs of queries, so you first search for the name of the custom attribute that you're looking for under the type node in the schema, then print its value via the value query.  I'll also note that native filters really improve generation performance and make your template work easier when you're trying to print a specific custom attribute.

1 vote

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 6,121

Question asked: Oct 03 '12, 10:33 a.m.

Question was seen: 5,370 times

Last updated: Mar 27 '13, 7:59 p.m.

Confirmation Cancel Confirm