It's all about the answers!

Ask a question

Creating Plan Items for Iteration Plan


geetu garg (81412) | asked Apr 21 '09, 5:35 a.m.
Hi,

I am trying to create the list of all the planned items under a plan. I have got the handle of the plan(which is IIterationPlanRecordHandle) and have created the work items in the repository too. (IWorkItem)
Is it possiible to associate these work items to the plan programmatically?
Or is it possible to create Plan items programatically?
Please provide the code reference if possible.


Thank you.

Geetu Garg

3 answers



permanent link
Michael Scharf (781) | answered Apr 21 '09, 5:49 a.m.
I am trying to create the list of all the planned items under a plan.
I have got the handle of the plan(which is
IIterationPlanRecordHandle) and have created the work items in the
repository too. (IWorkItem)
Is it possiible to associate these work items to the plan
programmatically?
Or is it possible to create Plan items programatically?
Please provide the code reference if possible.

Plans are populated by querying work items, therefore you simply need to
modify the work items you created to match the plan query. For plans of
the type "Iteration Plan", this can be done by setting the "planned for"
(com.ibm.team.workitem.attribute.target) and "filed against"
(com.ibm.team.workitem.attribute.category) to the respective values.

--
MikeS
Jazz Agile Planning team

permanent link
ma shuai (1622) | answered Jan 25 '10, 3:17 a.m.
Hi,

could you tell me how to get IIterationPlanRecordHandle? I want to get all of the plans in a special projectArea.

I am trying to create the list of all the planned items under a plan. I have got the handle of the plan(which is IIterationPlanRecordHandle) and have created the work items in the repository too. (IWorkItem)
Is it possiible to associate these work items to the plan programmatically?
Or is it possible to create Plan items programatically?
Please provide the code reference if possible.


Thank you.

Geetu Garg

permanent link
Patrick Streule (4.9k21) | answered Jan 25 '10, 5:53 a.m.
JAZZ DEVELOPER
could you tell me how to get IIterationPlanRecordHandle? I want to
get all of the plans in a special projectArea.

I am trying to create the list of all the planned items under a
plan. I have got the handle of the plan(which is
IIterationPlanRecordHandle) and have created the work items in the
repository too. (IWorkItem)
Is it possiible to associate these work items to the plan
programmatically?
Or is it possible to create Plan items programatically?
Please provide the code reference if possible.

The items on a plan are determined by a query for work items. So you
don't need the planning API to populate the plan, but you can just
create work items with the matching Filed Against and Planned For fields.

--
Regards,
Patrick
Jazz Work Item Team

Your answer


Register or 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.