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

Create IDevelopmentLine in a Project Area by programming

Hello,

How can I create an IDevelopmentLine in a Project Area by programming?

Any help would be appreciated. Many thanks.

0 votes



2 answers

Permanent link
If your code is running in the eclipse client, this should get you started:


IProcessItemService processService = (IProcessItemService) teamRepository.getClientLibrary(IProcessItemService.class);
projectArea = (IProjectArea) projectArea.getWorkingCopy();
IDevelopmentLine developmentLine = (IDevelopmentLine) IDevelopmentLine.ITEM_TYPE.createItem();
developmentLine.setId("id");
developmentLine.setProjectArea(projectArea);
projectArea.addDevelopmentLine(developmentLine);
IProcessItem[] saved = processService.save(new IProcessItem[] { projectArea, developmentLine }, progressMonitor);



---
Ryan Manwiller
Jazz Team

0 votes


Permanent link
Thank you very much!


---
Ryan Manwiller
Jazz 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: Jun 10 '09, 3:04 p.m.

Question was seen: 5,084 times

Last updated: Jun 10 '09, 3:04 p.m.

Confirmation Cancel Confirm