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 |
Accepted answer
It does not appear to work because of this error
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
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
|
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.