It's all about the answers!

Ask a question

How do I navigate to get an image, and which service do I to


Chris Abbott (7611312) | asked Jul 14 '11, 1:25 p.m.
I am trying to obtain the burndown graph:

1) I logged in
2) I called "rootservices"
3) I called "oslc/workitems/catalog"
4) I found my project and called "oslc/contexts/_3AWpQDNrEd-VerUNJ23vow/workitems/services.xml"

So now.... How do I ?

a) Get list of "My Current Plan"
b) How do I get the ID for the plans "chart image"
c) Which service to I post to and what are the parameters to get the PNG/JPG

Where are the documents for the services I can call "e.g. render image" and the details of the parameters needed ?

One answer



permanent link
Chris Abbott (7611312) | answered Jul 14 '11, 4:04 p.m.
Using a whole bunch of REST API calls

https://pcmnt155.pcm.endress.com:9443/jazz/rpt/repository/foundation?fields=foundation/projectArea/(*|projectDevelopmentLine/currentIteration/*)

Gives me an XML showing the current Iteration UniqueID

https://pcmnt155.pcm.endress.com:9443/jazz/rpt/repository/apt?fields=apt/iterationPlanRecord/(*|iteration/(uniqueId|name))

Gives me a list of XML records for all out plans with the iteration unique ID showing so I can manually search and find the write one, unfortunatly the REST search does not work

This does not work, cannot do the sub-search for "apt" (seems to only work for "workitems")
https://pcmnt155.pcm.endress.com:9443/jazz/rpt/repository/apt?fields=apt/iterationPlanRecord/(*|iteration/(uniqueId|name))

OK, I now have the unique ID of my currently active Plan

<iterationPlanRecord>
..<contextId>_3AWpQDNrEd-VerUNJ23vow</contextId>
..<uniqueId>36858f3388ea2670a0de059f3e418b52</uniqueId>
..<stateId>_OLBukJgqEeCaxfDGTzrUgw</stateId>
..<itemId>_OATFQJgqEeCeQfMkq3CvNg</itemId>
..<modified>2011-06-16T17:06:32.825+0200</modified>
..<name>Iteration 1 (R3)</name>
..<planType>com.ibm.team.apt.plantype.default</planType>
..<modifiedBy>
..<iteration>
....<uniqueId>e2d17e97c1e5075bc41a0e72f1a8c040</uniqueId>
....<name>Iteration 1 (R3)</name>
..</iteration>
..<projectArea>
..<teamArea>
</iterationPlanRecord>

So.... What and How do I call to get the plans Chart rendered ?

Your answer


Register or to post your answer.