how can I filter out data by using custom attributes
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..