How to report on custom enumerations in Rational Team Concert workitems using Rational Publishing Engine

Technote (FAQ)


Question

How do you report on Rational Team Concert (RTC) custom enumerations in Rational Publishing Engine (RPE)?

Cause

The href passed by RTC to RPE to establish the value of a custom enumeration is from the Open Services For Lifecycle Collaboration Application Programming Interface (OSLC API).

Currently, RPE cannot resolve this reference.


Answer

In the RPE template, a condition can be created which compares the enumeration's internal literal value at the workitem level (workitem/workItem/allExtensions/smallStringValue) to the value defined by the user for the custom enumeration at the project level (workitem/projectArea/enumerations/literals/id).

  • In RTC 2011, use smallStringValue.
  • In RTC 2012, use mediumStringValue.






A sample template is attached.

Disclaimer

All source code and/or binaries attached to this document are referred to here as "the Program". IBM is not providing program services of any kind for the Program. IBM is providing the Program on an "AS IS" basis without warranty of any kind. IBM WILL NOT BE LIABLE FOR ANY ACTUAL, DIRECT, SPECIAL, INCIDENTAL, OR INDIRECT DAMAGES OR FOR ANY ECONOMIC CONSEQUENTIAL DAMAGES (INCLUDING LOST PROFITS OR SAVINGS), EVEN IF IBM, OR ITS RESELLER, HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.


RTC_Custom_Enumeration_Attributes.dtaRTC_Custom_Enumeration_Attributes.dta

Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

Rational Publishing Engine
General Information

Software version:

3.0, 4.0

Operating system(s):

AIX, IBM i, Linux, Solaris, Windows, i5/OS, z/OS

Reference #:

1607451

Modified date:

2012-08-17

Translate my page

Machine Translation

Content navigation