It's all about the answers!

Ask a question

how can I filter out data by using custom attributes


shubham dhorajkar (111) | asked Apr 27, 5:21 a.m.

 Hii,

I want to fetch list of workitem's from repository or some project area, and my workitem contain some default attributes and some custom attributes, I can easily filter workitems with default attributes like id but when I am going with custom attribute then it is showing me error 

CRRED0108E: Illegal fields argument.  typeOfPack is not a valid field name.
    
This is my URL to find workitem
    
https://localhost:9443/jazz/rpt/repository/workitem?fields=workitem/workItem[typeOfPack=%22ALC%22]
    
typeOfPack is a enumeration crated customely.
with the help of following url it gives me correct data
    
https://localhost:9443/jazz/rpt/repository/workitem?fields=workitem/workItem[id=9%20or%20id=12]
    
So if I want to filter data using custom attribute then how can I do it.
    

Thanks..
    

One answer



permanent link
Subramanya Prasad Pilar (4.2k14) | answered Apr 27, 5:33 a.m.
edited Apr 27, 5:39 a.m.

Note that some of the fields are not supported in native filtering by RTC reportable API. As you can see in the error, typeOfPack field cannot be used for filtering.


Comments
shubham dhorajkar commented Apr 27, 5:37 a.m.

Thanks for the quick response, so is there any other way to do


Your answer


Register or to post your answer.