When using the REST API is there a modifier for an item such as first and last?
When using the report repository, I can do...
https://itprojmgmt.penfed.org:9443/ccm/rpt/repository/generic?fields=generic/com.ibm.team.process.ProjectArea/(name|archived|itemHistory/*)
which gives me all the itemHistory elements, but in truth, I just want the first and last itemHistory.
In XPath (and such) you can do:
https://itprojmgmt.penfed.org:9443/ccm/rpt/repository/generic?fields=generic/com.ibm.team.process.ProjectArea/(name|archived|itemHistory[first()]/*|itemHistory[last()]/*)
but that gives me a 500 error.
Anyone have any ideas?