It's all about the answers!

Ask a question

Work item link: Blocked and Depend on

nicolas acosta (159) | asked Feb 23 '18, 8:49 a.m.

My question is about the work item´s links: Blocked and Depend on. I would to know how can I make the status of a work item that is blocked by another can not be changed unless the status of the blocking work item is  completed.

Thanks in advance.

Accepted answer

permanent link
Ralph Schoon (63.2k33646) | answered Feb 26 '18, 2:22 a.m.

There is no built in behavior or semantic implemented. The link is pretty much only information.
If you want to change that, you would have to implement a precondition aka an advisor that checks during the work item save condition, if the save can run (based on the existence of such relationships) and prevent it if not.

 Here is an example based on other information:

The blog provides more reading and also examples how to detect relationships on work items. Note, this is not a cheap endeavor.

nicolas acosta selected this answer as the correct answer

Your answer

Register or 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.