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

Creating Plan Items for Iteration Plan

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

0 votes



3 answers

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

0 votes


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

0 votes


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

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

Question asked: Apr 21 '09, 5:35 a.m.

Question was seen: 6,301 times

Last updated: Apr 21 '09, 5:35 a.m.

Confirmation Cancel Confirm