Custom Precondition like 'All Children Resolved' but by WI type and state?
Hello all, I have a question for RTC 4.0.7:
the OOTB precondition 'All Children Resolved' is checked when the WI is saved in a Resolved state, but I would like is behaviour similar to 'Prevent Editing' which allows you to specify the WI type and state where the check is applied. To put it another way, what I'm after is a precondition that checks for all children to be resolved for work item A when saved in state B.
I'm aware that this will require a custom precondition, something I haven't tackled yet, but I'm wondering if anyone has already done this and would be happy to share their experience?
All helping hands warmly welcomed!
Cliff
2 answers
Cliff,
start here: https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
On that blog are various examples for advisors and participants where you should be able to get all the pieces you need.
Examples:
start here: https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
On that blog are various examples for advisors and participants where you should be able to get all the pieces you need.
Examples:
- https://rsjazz.wordpress.com/2014/05/26/only-owner-can-close-workitem-advisor/
- https://rsjazz.wordpress.com/2012/11/27/resolve-parent-if-all-children-are-resolved-participant/
- https://rsjazz.wordpress.com/2012/11/26/manipulating-work-item-states/
-
https://rsjazz.wordpress.com/2012/07/31/rtc-update-parent-duration-estimation-and-effort-participant/