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
<predecessor>
_G7CWYDVYEeWOJffyorECrg
<state>
<name>
Resolved
<modified>
2015-07-28T14:40:29.766-0400
<modifiedBy>
<emailAddress>
Binoy.Dcosta@ipc.com
<itemHistory>
<stateId>
_xtwzMWtrEeSNxt9jLfJlpA
<predecessor>
_68hJcB5WEeSzreHcp5MPKA
<state>
<name>
Assigned
<modified>
2014-11-13T14:32:16.995-0500
<modifiedBy>
<emailAddress>
Binoy.Dcosta@ipc.com
How do I query to return only state name equal to "Resolved"?
Thanks,
Binoy
|
One answer
https://clmserver/jazz/rpt/repository/workitem?fields=workitem/workItem[id='90866']/(id|itemHistory[state/name='Resolved']/(state/name|modified|modifiedBy/(emailAddress)))
|
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.