1. how to get work item and add or update query for TFS
http://www.dotnetcurry.com/visualstudio/1162/using-rest-api-tfs-visual-studio-online
http://www.cnblogs.com/chengxingliang/p/3163513.html
2. VSO API Document
https://docs.microsoft.com/zh-cn/vsts/integrate/
https://docs.microsoft.com/zh-cn/vsts/integrate/quickstarts/work-item-quickstart
References:
VSO task group: https://docs.microsoft.com/en-us/vsts/build-release/concepts/library/task-groups
Code samples: https://github.com/Microsoft/vsts-dotnet-samples/pull/90/files
https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items
https://blogs.msdn.microsoft.com/bharry/2014/05/12/a-new-api-for-visual-studio-online/
power shell: http://blog.devmatter.com/calling-vsts-apis-with-powershell/
Some links:
Execute Query:
https://stackoverflow.com/questions/36420030/how-to-execute-custom-query-using-vso-vsts-rest-api
https://www.visualstudio.com/en-us/docs/integrate/api/wit/wiql
work items: https://www.visualstudio.com/en-us/docs/integrate/api/wit/work-items#get-a-list-of-work-items
3. Access Token
https://docs.microsoft.com/zh-cn/vsts/integrate/get-started/authentication/pats
4.Work item fields index:
https://docs.microsoft.com/en-us/vsts/work/work-items/guidance/work-item-field