Iterations disappear and/or never show up in the menu
Hi,
I have a strange problem with Iterations. When I create an Iteration (code below), I can use that iteration to set the WorkItem-Target. The iteration will be displayed when I select the workItem in the browser or in TeamConcert. But I can't set that iteration as target for every other WorkItem because the iteration doesn't show up in the drop-down menu. I can set the iteration as currentIteration but that doesn't change anything. What's the problem and how can I solve it? Thanks in advance Kai service = (IProcessItemService) repository.getClientLibrary(IProcessItemService.class); IIteration iter; iter = service.createIteration(); iter.setName(name); iter.setId(id.toString()); iter.setStartDate(startDate.getTime()); iter.setEndDate(endDate.getTime()); IDevelopmentLine devLine = service.getDevelopmentLine(teamArea, monitor); IDevelopmentLine mutableDevLine = (IDevelopmentLine) service.getMutableCopy(devLine); newIteration.setDevelopmentLine(mutableDevLine); mutableDevLine.addIteration(newIteration); IProcessItem [] items = new IProcessItem; items = newIteration; items = mutableDevLine; service.save(items, monitor); |
2 answers
Hi Kai
I have a strange problem with Iterations. When I create an Iteration Do you see the iteration in the Project Area editor Overview tab? Patrick, Jazz Work Item Team |
Hi Kai,
You also need to call the IIteration.setHasDeliverable(true) method in order to see the iterations from the drop-down list. Only iterations that have a scheduled release will appear in the drop-down. Lorelei Jazz CQ Connector Team |
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.