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

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);

0 votes



2 answers

Permanent link
Hi Kai

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?

Do you see the iteration in the Project Area editor Overview tab?

Patrick,
Jazz Work Item Team

0 votes


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

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
× 11,079

Question asked: May 16 '08, 4:52 p.m.

Question was seen: 8,929 times

Last updated: May 16 '08, 4:52 p.m.

Confirmation Cancel Confirm