I want to construct a request or query using Reportable REST API to fetch the value of custom attribute of type Decimal (in all Extensions)?
I have tried many ways but did not get teh output.
queryRestRequestString = "workItem/workItem[projectArea/name='" & CONST_projectName & "' and " & strPlannedType & " and timeSpent>0]/(id|type/name|summary|parent/id|parent/summary|creationDate|state/name|owner/name|target/name|duration|correctedEstimate|timeSpent|dueDate|category/name|bigDecimalExtensions[key='ar.sanofi.attribute.etc']/value)"
Accepted answer
I can see the folloding REST URL works fine:
https://clm605.rtp.raleigh.ibm.com:9443/ccm/rpt/repository/workitem?fields=workitem/workItem[projectArea/name='JKE Banking (Change Management)' and target/name='Product Backlog']/(id|type/name|summary|parent/id|parent/summary|creationDate|state/name|owner/name|target/name|duration|correctedEstimate|timeSpent|dueDate|category/name|bigDecimalExtensions[key='sanofi']/value)
Note that there is no "&" in AND condition. Also note that filtering is not supported for some properties.