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 Synonym
Rational Publishing Engine
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21659291