IBM Support

How to set up a filter in Rational Publishing Engine using Rational Team Concert REST API

Question & Answer


Question

How do you set up a filter in IBM Rational Publishing Engine (RPE) using IBM Rational Team Concert (RTC) REST API?

Cause

There is no clear information in Information Center or RTC Rest API document in jazz.net.

Answer

Below is the examples on how to set a filter by a project name when you get work item data from RTC.

Method 1:

Add a filter in the Data sources URI using the following format.

Example:
https://hostname:9443/ccm/rpt/repository/workitem?fields=workitem/workI…*


If a report includes a project name or a state name, use the following format.

https://hostname:9443/ccm/rpt/repository/workitem?fields=workitem/workI…*

Method 2:

Use the basic URI https://localhost:9443/ccm/rpt/repository/workitem as Data sources URI and add a native filter (to filter for project area name) in a RPE template.

Example for native filter:


projectArea/name="JKE Sample"

See Rational Publishing Engine Information Center - Native filters for details of native filters.

Related Information

[{"Product":{"code":"SSUBFB","label":"IBM Engineering Lifecycle Optimization - Publishing"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General Information","Platform":[{"code":"PF033","label":"Windows"}],"Version":"1.2;1.2.1","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Product Synonym

Rational Publishing Engine

Document Information

Modified date:
16 June 2018

UID

swg21659291