Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

RTC Rest API: Filter workitems by specific Extension parameter

 I'm trying to filter workitems by specific values in specific extension key, but all I get is the error message:


Error 500: Illegal filter. The field 'workitem/allExtensions/key' may not be used in a filter because it returns multiple values.

Here the URL I have:

https://example.com/ccm/rpt/repository/workitem?fields=workitem/workItem[projectArea/itemId=_Xpc-8HlGEeOY04eYDyuMzc and (state/id='state.s1' or state/id='state.s2' or state/id='state.s4' or state/id='state.s5' or state/id='state.s6' or state/id='state.s8' or state/id='state.s9' or state/id='state.s10') and (allExtensions/key='mode03' and allExtensions/displayValue='Default Value')]/(id|projectArea|category/name|state/(id|name)|creator/name|owner/name|resolver/name|summary|resolutionDate|creationDate|dueDate|duration|timeSpent|description|allExtensions/(key|type|displayName|displayValue))

I'm working with RTC 6.0.4

0 votes



One answer

Permanent link

 I have seen this error in questions here in the forum and as far as I can remember, this indicates that you simply can not use this as a filter. 6.0.4 is no longer supported. 

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Jul 04 '23, 1:44 p.m.

Question was seen: 545 times

Last updated: Jul 05 '23, 4:05 a.m.

Confirmation Cancel Confirm