It's all about the answers!

Ask a question

RTC Rest API: Filter workitems by specific Extension parameter


Diogo Braga (11) | asked Jul 04 '23, 1:44 p.m.

 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

One answer



permanent link
Ralph Schoon (63.3k33646) | answered Jul 05 '23, 4:05 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

 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. 

Your answer


Register or 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.