It's all about the answers!

Ask a question

how to use reportable rest api to filter custom attributes of allExtensions


Binoy D'costa (9531532) | asked May 07 '15, 4:05 p.m.
I have seen some posts about it but they don't confirm that it is not possible.

eg:

https://almserver/jazz/rpt/repository/workitem?fields=workitem/workItem[state/id='3' and allExtensions/smallStringValue='TargetStream.literal.l39']/(id|summary)

Here the extension is an enumeration type of custom attribute.

Thanks,
Binoy

Accepted answer


permanent link
Donald Nong (14.4k313) | answered May 07 '15, 10:01 p.m.
It does not appear to work because of this error
CRRED0135E: Illegal filter. The field 'workitem/allExtensions/smallStringValue' may not be used in a filter because it returns multiple values
So it has nothing to do with what the "smallStringValue" is. The multi-valued nature of the "allExtensions" attribute disallows it.

Binoy D'costa selected this answer as the correct answer

One other answer



permanent link
Abdellatif SAHLALI (11) | answered Sep 16 '18, 3:00 p.m.

 Hello,

I have the same trouble but fruitless here is my query  =
https://almserver/jazz/rpt/repository/workitem?fields=workitem/workItem[state/id='1009' and allExtensions/displayValue='Some Text']/(id|summary) 


my xml response from the server : I would like to get only the workitem that has Some text 1

<allExtensions>
<key>fr.x.attribute.activity.xtl</key>
<displayValue>Some text 1</displayValue>
</allExtensions>
<allExtensions>
<key>fr.auro.workitem.attribute.intervenant</key>
<displayValue>Some text 2</displayValue>
</allExtensions>

Thanks, 
Abdell
<style type="text/css"> p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Menlo; color: #3933ff} </style>

Your answer


Register or to post your answer.