how to use reportable rest api to filter custom attributes of allExtensions
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
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
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.
One other answer
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