How do you set a prerequisite for state change in a custom workflow?
![]()
I am creating a custom workflow for an RTC project, and would like to configure it so that moving a parent work item to the next status requires all the child work items to be resolved first. Is this possible? Can I configure it using one of the clients, or would custom code be required?
|
Accepted answer
![]()
Hi Ralph,
you would need a custom precondition to be written. OOTB you can control when a parent work item can be marked resolved based on state of its children but not the state transition to other (non-resolve) states. here are some earlier posts on similar requirement: https://jazz.net/forum/questions/94059/getting-the-state-of-the-child-workitem https://jazz.net/forum/questions/118986/can-a-work-item-state-be-changed-depending-on-the-child-work-items-state and writing an operation participant is the way ahead, here is a workshop to help you with it: https://jazz.net/library/content/articles/rtc/4.0/extensions-workshop/downloads/RTC40ExtPoT.pdf hope this helps Ralph Earle selected this answer as the correct answer
|
One other answer
![]()
I think this can be a pre-condition on Save Work Item Team Operation Behavior.. All Children Resolved. Described as: Requires that a work item can only be resolved if all of its children are resolved.
|
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.