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

Can't create new Iterations

Hi,

I want to create new Iterations but I can't save them on the server because the development line is immutable. How can I add a new Iteration?

I used the following code:

...
IDevelopmentLine devLine = service.getDevelopmentLine(teamArea, null);

IIteration i = s.createIteration();
i.setName("My Iteration has no name");
i.setDevelopmentLine(devLine);
i.setId("M5");

s.save(i, null);


Thanks in advance,
Kai

0 votes



One answer

Permanent link
s.getMutableCopy(devLine) does the trick.

Kai
Jazz Process Team


kainehring wrote:
Hi,

I want to create new Iterations but I can't save them on the server
because the development line is immutable. How can I add a new
Iteration?

I used the following code:

...
IDevelopmentLine devLine = service.getDevelopmentLine(teamArea,
null);

IIteration i = s.createIteration();
i.setName("My Iteration has no name");
i.setDevelopmentLine(devLine);
i.setId("M5");

s.save(i, null);


Thanks in advance,
Kai

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

Question asked: May 07 '08, 5:44 p.m.

Question was seen: 6,852 times

Last updated: May 07 '08, 5:44 p.m.

Confirmation Cancel Confirm