Can I use work item type as query parameter in Reportable REST API?
RTC 3.0.1.x. What I need is to fetch all work items of particular type from all project areas. OSLC REST API is scoped to context (e.g. project area) so I have to use Reportable REST API.
But
returns CRRED0105E: Unsupported type name: com.ibm.team.workitem.WorkItemType
Any ideas?
3 answers
Type is a complex attribute and you need to specify you are filtering on the id of the type. This works (in 4.0):
https://servername:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[type/id='defect']/id
https://servername:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[type/id='defect']/id
Comments
1 vote
1 vote
1 vote