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

Close parent WI when all child WIs are done follow-up action

Hello,
I need to close parent work item, when all child work items are done.
For example there is Verification task with children tasks Review and Repair Discovered Defects. After Review task is closed and I change Repair Discovered Defects task state to closed, I also want to close Verification task.

To configure this, there is a Process Templates > Process Configuration > Team Configuration >Operation Behavior editor tab in Eclipse Client. In this tab are preconditions and follow-up actions for Work Item > Save Work Item (server).
Here I need to add follow-up action which checks, whether this item is last closed child and close its parrent.

Is there some neat way to do this? I only discovered how to define your own follow-ups via defining extension
https://jazz.net/wiki/bin/view/Main/PreconditionFollowupCreation

Thanks a lot for all advices.

1

0 votes



One answer

Permanent link
You can add the Precondition "All Children Resolved" for work item save operation in Process Configuration > Team Configuration >Operation Behavior .

-1 votes

Comments

The "All Children Resolved" precondition will prevent you from closing the parent work item if some of the children are unresolved. What the original poster wants is to have the parent work item be closed automatically once all its children have been closed. No precondition will do that.

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: Apr 26 '11, 8:06 a.m.

Question was seen: 4,348 times

Last updated: Jun 08 '12, 10:23 a.m.

Confirmation Cancel Confirm