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

Workitem: Parent -Child relationship

I have created a Release workitem and I want that status should not be changed to 'closed' unless all the associated child tasks are in 'closed' status. I know it happens correctly when we have a story and children associated to it and want to implement the same here.I added the pre-condition "All Children Resolved" but it doesnot help me. Am I missing something ? Alternatively, would like to know is there any way to configure the status of workitem based on its child task. If one child task has failed status, I want that the parent workitem status should automatically change to Failed status.

0 votes



3 answers

Permanent link
I have created a Release workitem and I want that status should not be changed to 'closed' unless all the associated child tasks are in 'closed' status. I know it happens correctly when we have a story and children associated to it and want to implement the same here.I added the pre-condition "All Children Resolved" but it doesnot help me. Am I missing something ? Alternatively, would like to know is there any way to configure the status of workitem based on its child task. If one child task has failed status, I want that the parent workitem status should automatically change to Failed status.


Hi,

said pre-condition should do the trick provided the correct states in the workflow are marked as closed states.

As far as I know today you can't configure to change the state of a parent automatically on the state of a child. It might be possible to do that creating a server a server extension. See the Rational Team Concert 3.0 Extensions Workshop in the library.

1 vote

Comments

Here is an example for closing the parent if all children are closed, in case you intent that behavior:  http://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/


Permanent link
Hi ralph

following along the same line as Kaushambi's   question,  where do you specify the pre-condition - all children resolved?  I cant find it in the Workflows editor ...  I am using rtc 7..5.2   and/or rtc 7.5.1.2 



1 vote

Comments

Frederick, Using the Eclipse client, open your project. Select the "Process Configuration" tab at the bottom. Expand the "Team Configuration" and select "Operation Behavior". Find "Save Work Item (server)" under "Operations" -> "Work Items". Select the little gear with two people icon shown under the "Everyone" column. Below is the preconditions, select "Add" next to the Preconditions box. "All Children Resolved" should be at the top of the list. Select it, press "OK" and save.

James Freeman


Permanent link
note that this handles children, but not 'depends on'.. this requires separate development of a new plugin.
I posted the source of such a plugin(advisor) to the forum a while back.

sam

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

Question asked: Jul 26 '11, 11:55 a.m.

Question was seen: 5,923 times

Last updated: Mar 10 '13, 12:36 p.m.

Confirmation Cancel Confirm