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

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

0 votes


Accepted answer

Permanent link
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

0 votes


One other answer

Permanent link

 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>

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,927

Question asked: May 07 '15, 4:05 p.m.

Question was seen: 3,120 times

Last updated: Sep 16 '18, 3:00 p.m.

Confirmation Cancel Confirm