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

query state name in itemHistory of the RTC reportable rest api

I have rtc reportable query like:

https://clmserver/jazz/rpt/repository/workitem?fields=workitem/workItem[id='90866']/(id|itemHistory/(state/name|modified|modifiedBy/(emailAddress)))

which returns:

 <itemHistory>
<stateId>
_HvhuYTVYEeWOJffyorECrg
</stateId>
<predecessor>
_G7CWYDVYEeWOJffyorECrg
</predecessor>
<state>
<name>
Resolved
</name>
</state>
<modified>
2015-07-28T14:40:29.766-0400
</modified>
<modifiedBy>
<emailAddress>
Binoy.Dcosta@ipc.com
</emailAddress>
</modifiedBy>
 </itemHistory>
 <itemHistory>
<stateId>
_xtwzMWtrEeSNxt9jLfJlpA
</stateId>
<predecessor>
_68hJcB5WEeSzreHcp5MPKA
</predecessor>
<state>
<name>
Assigned
</name>
</state>
<modified>
2014-11-13T14:32:16.995-0500
</modified>
<modifiedBy>
<emailAddress>
Binoy.Dcosta@ipc.com
</emailAddress>
</modifiedBy>
 </itemHistory>


How do I query to return only state name equal to "Resolved"?

Thanks,
Binoy


0 votes



One answer

Permanent link
https://clmserver/jazz/rpt/repository/workitem?fields=workitem/workItem[id='90866']/(id|itemHistory[state/name='Resolved']/(state/name|modified|modifiedBy/(emailAddress)))

1 vote

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

Question asked: Jul 29 '15, 10:31 a.m.

Question was seen: 2,875 times

Last updated: Jul 30 '15, 12:09 a.m.

Confirmation Cancel Confirm