How to filter workitems by extension field value using REST?
How Can I filter workitems by extension field value using REST?
I am able to get it as field, e.g.
https://xxxxxxx/workitem?fields=workitem/workItem[id=12]/(id|summary|stringExtensions[key='assignedTo']/(value))
But now I want to filter by value, some thing like:
I tried also:
fields=workitem/workItem[stringExtensions/key='assignedTo' ]
And got:
Error 500: CRRED0135E: Illegal filter.
The field 'workitem/stringExtensions/key' may not be used in a filter because it returns multiple values.
|
One answer
Here is an example: https://jazz.net/jazz/rpt/repository/workitem?fields=workitem/workItem[id=12]/(id|summary|stringExtensions[key='com.ibm.team.workitem.rcp.core.platform' and value='PC1']/(key|value)) Comments this should be working live example?
SO this filter should come in section /workitem[<here>]
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
stringExtensions/key can be collection of values so filtering on it using = is not possible. The reportable rest API does not support what you are asking for.