Create IDevelopmentLine in a Project Area by programming
2 answers
If your code is running in the eclipse client, this should get you started:
---
Ryan Manwiller
Jazz Team
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