I'm looking for a small code snippet which helps me to create a defect in TFS Programmatically using C# VSTS2015.
My TFS Server: http://tfs2.dell.com:8080/tfs/eDell/eDellPrograms/. server is: http://tfs2.dell.com:8080/tfs. Collection is: eDell. Project is: eDellPrograms.
Work Item = Defect.
You have 2 options:
For TFS Soap API (SDK) you need these DLL's:
The code is:
If you want use Rest API you don't need the above DLL's.
The code is: