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

Timeline of child iteration may not match parent?

When you create a child iteration of an iteration, you must set the timeline of the child (using IIteration::setDevelopmentLine() ) or the save will fail with the mesaage that the timeline isn't set. But you can set it to something different from the timeline of the parent.

Is this meaningful? What is the intention of saying "an iteration is in this timeline but a child is in another timeline"?

Or is it just that the server doesn't happen to check that particular bit of relational integrigy and a client should make sure that you set the timeline properly? In other cases, the server does check relational integrity. For example, you must call parentIteration.addChild(newIteration) as well as newIteration.setParent(parentIteration) before the save, or the save fails because they don't match.

0 votes



2 answers

Permanent link
This is a bug in the validation code.
The method that checks the integrity is not checking the development line value. As you correctly stated, it does check the parent iteration value and it checks that the development line that is set exists.
I have filed https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/163241 for the issue.

Thanks,
Martha
Jazz Developer, Process Component

When you create a child iteration of an iteration, you must set the timeline of the child (using IIteration::setDevelopmentLine() ) or the save will fail with the mesaage that the timeline isn't set. But you can set it to something different from the timeline of the parent.

Is this meaningful? What is the intention of saying "an iteration is in this timeline but a child is in another timeline"?

Or is it just that the server doesn't happen to check that particular bit of relational integrigy and a client should make sure that you set the timeline properly? In other cases, the server does check relational integrity. For example, you must call parentIteration.addChild(newIteration) as well as newIteration.setParent(parentIteration) before the save, or the save fails because they don't match.

0 votes


Permanent link
Logically, it doesn't make sense for an iteration to not be in the same
timeline as its parent iteration, so I'd vote that it is a bug in the
method that it fails to do this integrity check (and further, if the
timeline property is null, it should automatically set the timeline
property to the parent's value, rather than throwing an exception).

Cheers,
Geoff

On 4/23/2011 4:53 PM, ajberner wrote:
When you create a child iteration of an iteration, you must set the
timeline of the child (using IIteration::setDevelopmentLine() ) or
the save will fail with the mesaage that the timeline isn't set. But
you can set it to something different from the timeline of the
parent.

Is this meaningful? What is the intention of saying "an
iteration is in this timeline but a child is in another
timeline"?

Or is it just that the server doesn't happen to check that particular
bit of relational integrigy and a client should make sure that you
set the timeline properly? In other cases, the server does check
relational integrity. For example, you must call
parentIteration.addChild(newIteration) as well as
newIteration.setParent(parentIteration) before the save, or the save
fails because they don't match.

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: Apr 23 '11, 4:47 p.m.

Question was seen: 4,332 times

Last updated: Apr 23 '11, 4:47 p.m.

Confirmation Cancel Confirm