work item type TF212015 (deletefield)

황제낙엽 2017.01.09 10:31 조회 수 : 257

sitelink1 https://msdn.microsoft.com/ko-kr/library....120).aspx 
sitelink2  
sitelink3  

C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE>witadmin deletefield /collection:http://[Collection도메인]:9090/tfs/[Collection명] /n:RequestProduct.NOTICE_FLAG
TF212015: 작업 항목 필드 RequestProduct.NOTICE_FLAG은(는) 팀 프로젝트 TEST14(제품요구사항), TEST17(제품요구사항), WORK700(제품요구사항), WORKV8(제품요구사항)에서 사용 중이므로 삭제 할 수 없습니다.

 

위와 같은 에러에서는 다음과 같이 해결 할 수 있다.

 

Visual Studio 의 [도구 > Process Editor > Work Item Types > Open WIT from Server] 메뉴에서 에러 메세지에 표시된 각 팀 프로젝트에서 사용중인 field 들을 일일이 모두 삭제한다.

참고로 field 삭제시 먼저 Layout, Workflow 에서 field를 사용하는 항목들을 삭제해야 Fields탭에서 해당 항목을 삭제 할 수 있다.

위와 같이 Visual Studio 로 삭제후 커맨드 명령어 witadmin deletefield 를 수행하면 삭제가 가능하다