IBM Support

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

Question & Answer


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

[{"Product":{"code":"SSUBFB","label":"IBM Engineering Lifecycle Optimization - Publishing"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF035","label":"z\/OS"},{"code":"PF002","label":"AIX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"3.0;4.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Publishing Engine

Document Information

Modified date:
16 June 2018

UID

swg21607451