Accessing Work Item Links in RTC-SDK?
What objects do I need to access a linked work item's status from within the RTC-SDK?
Context: I am making a precondition which will prevent one work item from being closed when it's blocker has not been closed yet. This is technically identical to the out-of-the-box "All Children Resolved" precondition, except for the Blocks link...so that we can have several work items which block a single one whereas only one parent link can be used.
My skill level: I have had several successes with making simple preconditions before, but am still new to the subject so a more in-depth explanation would be much appreciated.
Thanks!
Accepted answer
I posted this extension here nov 2011.
see post 2.
https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items
this one checks if the workitem is going into a closed state group, then finds if there is a depends link, gets the other end and checks if it is in its closed group too.
if not, then it adds an error to be displayed
see post 2.
https://jazz.net/forum/questions/64268/operation-advisor-custom-precondition-for-work-items
this one checks if the workitem is going into a closed state group, then finds if there is a depends link, gets the other end and checks if it is in its closed group too.
if not, then it adds an error to be displayed
Comments
Dave Evans
Jan 02 '14, 4:38 p.m.sam detweiler
Jan 02 '14, 5:15 p.m.Dave Evans
Jan 02 '14, 5:09 p.m.sam detweiler
Jan 02 '14, 5:18 p.m.