We have a git commit-msg hook in place for developers to mention a valid tfs work item when checking in code changes. So that all contributed work-items are automatically linked to a pull request when raised.
The problem is that developers can still manually unlink a work item from PR and TFS is not maintaining the audit trail of linked/un-linked work items at PR level. Because of this, it's hard to say what work items went in a build to hand it over for testing. Is there a way we can prevent developers from unlinking or removing the work item from PR when it contributed for code changes in the pull request.