It's all about the answers!

Ask a question

RTC 4.06 question Parent/Child Work Item Behavior (Parent does not close if children are complete)


rich centauro (152224) | asked Dec 17 '14, 4:11 p.m.
RTC 4.06 Usage Question - Why does a Parent Work Item Stay Open if the children are Completed. Is there a way to trigger the Parent to close when the children close,

 I read Ralph Schoon's blog (links below) and it involves coding and it does not describe how to get the code integrated with Jazz.  I am not a programmer so i assume there is some kind of developer kit that is needed and documentation on how to getting it working that exists somewhere. Also Ralph states his code is experimental and should not be considered for Production with out more testing.

http://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/

http://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/

Does this get addressed in 5x version and does anyone know why it does not work in a logical manner where if the children are complete the parent would complete?

Comments
sam detweiler commented Dec 17 '14, 4:24 p.m. | edited Dec 17 '14, 4:26 p.m.

this is not addressed in 5.x.. it is the default behavior.

Ralph cannot produce production ready code, as IBM would have to charge for it.

There is a toolkit, and training on developing plugins, and you could create one that does this, as Ralph demonstrates.

another one that is not provided.. if a workitem depends on another one, and the other one is not closed, rtc still lets you close this one.
I provided the source for a plugin that supports this here https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items

One answer



permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 17 '14, 8:16 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A couple of the reasons why this is the default behavior:
- For some scenarios, the current behavior is the right behavior.   For example, if you have a task, and decide to carve out part of that task for someone else to do, you create a child task for that part.   But just because the child task is done does not mean the parent task is done ... only part of the work of the task has been assigned to the child.
- The owner of the child task may not have permission to transition the parent task to complete.

The auto-transition of the parent is left as a customer extension so your code can decide what is the right thing to do in these cases.

Comments
sam detweiler commented Dec 17 '14, 9:38 p.m.

the workitem owner is the first good reason its not as easy as it sounds..

the subchild taskĀ  being done is up to the task owner..
(the code can tell if it is a subchild task).

Your answer


Register or 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.