It's all about the answers!

Ask a question

How can I programmatically get the list of Plans in an RTC Project Area?


Serghei Zagorinyak (481913) | asked Aug 23 '12, 9:06 a.m.
edited Sep 04 '12, 8:50 a.m.

Hi! I wish to programmatically get the list of plans in an RTC Project Area and display it in WebUI.
I looked through the Process REST API but couldn't find any information about getting the plan list. 

Will be grateful for any hints.

Accepted answer


permanent link
sam detweiler (12.4k6179201) | answered Aug 23 '12, 9:15 a.m.
there are no direct apis or methods to do this.. I am building a native java client to do this.

the key call is

IterationPlanClient.fetchAllIterationPlans(ItemProfile.FULL_PROFILE,null);

Sam
Serghei Zagorinyak selected this answer as the correct answer

Comments
Serghei Zagorinyak commented Aug 23 '12, 9:29 a.m.

Sorry, but the jazz.net search returns only 2 links on IterationPlanClient that are not really descriptive. Could you please be more specific?


Serghei Zagorinyak commented Aug 23 '12, 9:31 a.m.

And there is another question of mine you might know an answer for. It's about assigning WorkItems to Plans. https://jazz.net/forum/questions/85851/how-can-i-create-a-workitem-in-a-certain-rtc-project-areas-plan-via-rest-api Could you take a look, please?


sam detweiler commented Sep 04 '12, 9:31 a.m. | edited Sep 04 '12, 9:32 a.m.

You don't assign a workitem to a PLAN.. you assign it to an ITERATION..(planned for)
there may or may not be a PLAN created for that iteration..
Iteration = time span
Plan =
work = Backlog
over time = Iteration
by people = Team


Serghei Zagorinyak commented Sep 04 '12, 9:43 a.m.

Yes, I've already discovered that. I was mislead. Thanks for your answer.

One other answer



permanent link
sam detweiler (12.4k6179201) | answered Sep 04 '12, 9:37 a.m.
IterationPlanClient is not documented in the javadoc  you will have to load the source from the jar files
<br>plugin view, com.ibm.team.apt.common, import source

Your answer


Register or to post your answer.