It's all about the answers!

Ask a question

OSLC - Current Iteration in OSLC


Bartosz Chrabski (3.1k12039) | asked May 22 '13, 5:48 a.m.
edited May 22 '13, 7:35 p.m. by Millard Ellingsworth (2.5k12431)
 Hi Team,

In one of the project we would like to query current iteration used in the project. I am open for any suggestion which parameter is responsible for such information.

Thanks in advance.

Accepted answer


permanent link
Stephane Leroy (1.4k149) | answered May 28 '13, 4:59 a.m.
JAZZ DEVELOPER
Hi Bartosz,

another option would be to use Reportable REST API.

As an example, the following (GET) request for the "JKE Banking" project area :
https://localhost:9443/ccm/rpt/repository/foundation?fields=projectArea/projectArea[name="JKE Banking (Change Management)"]/projectDevelopmentLine/currentIteration/name&size=100
would return this XML piece:


which corresponds to what you see in the PA management page:


Up to you to refine the above query (and loop on it)  to capture the wrapping development lines...
In such case, I advise you to check https://jazz.net/wiki/bin/view/Main/ReportsRESTAPI for the available linking.

Regards,
Stéphane


Bartosz Chrabski selected this answer as the correct answer

Comments
Bartosz Chrabski commented Jun 02 '13, 8:46 a.m.

Thanks Stephane,


It solved my problem.

One other answer



permanent link
Eric Jodet (6.3k5109120) | answered May 23 '13, 8:38 a.m.
JAZZ DEVELOPER

Comments
Bartosz Chrabski commented May 27 '13, 10:26 a.m.

Eric,


The challenge here is that when you use RTC Client Eclipse it download such a information. I am supprised that I am not able to get such a information through OSLC.

In my case I am not able to use Java API due to limitations on mobile platforms, it is just not supported and not working. 


Eric Jodet commented May 28 '13, 3:07 a.m.
JAZZ DEVELOPER

 Hello Bartosz,

clients like Eclipse or WebUI do not use OSLC - rather Java API.
You may want to search in the OSLC API

Let me know if you find anything.
Thanks.
Eric

Your answer


Register or to post your answer.