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

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

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 ?

0 votes



One answer

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

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

Question asked: Jul 14 '11, 1:25 p.m.

Question was seen: 5,372 times

Last updated: Jul 14 '11, 1:25 p.m.

Confirmation Cancel Confirm