This post does not have a lot of text, only an introduction. I use the VSTS Rest API quite a lot and the documentation is great, but not everything is documented or hard to find. In this post, I list some snippets that you can use to get even more out of the VSTS Rest […]
Continue reading
REST call to get all tasks in your VSTS account
This time, a small and simple post. I was working on a solution to get all tasks used in multiple build definitions. When you get the Build Definition with the REST API, you see a reference to the tasks by it’s GUID. But the displayname, group etc, is not displayed there. There is no documentation […]
Continue reading
Programmatically promote your package quality with Release Views in VSTS
A short while ago, Package Management in VSTS became publicly available. Agreed, the features in the initial version are not overwhelming, but the potential is very high. If you are not familiar yet, with Package Management in VSTS , I highly recommend you take a look at the documentation on the Visual Studio site, to […]
Continue reading
Set output variable in a Powershell VSTS Build Task
Currently I am building a pipeline that performs some actions on Azure. For example creating a Azure Storage Account. When doing this, I want to return some values from my Powershell script back into a variable of my Build Pipeline, so I can use this in another task. After some searching I finally found out how […]
Continue reading
Call VS Team Services (VSTS) REST API from your Build Pipeline
Today I had the necessity to call the Visual Team Services (VSTS) REST API to get the code changes associated to the build I was currently running. I want these changes to get all the files and to do some actions with the files that were changed. First I tried to call the REST API from Postman. In […]
Continue reading
Integrate your on-premise ticket system with Visual Studio Team Services (fka VS Online)
There is a lot going on in the TFS/VSTS world. I hear more and more customers talking about the move to VSTS and I think this is a very good trend. Many scenarios that were showstoppers before are in place on VSTS and some scenarios are coming on short –term. To get a good overview […]
Continue reading
Bulk destroy Work Items from Team Foundation Server
WARNING: Destroy work items is a irreversible action so use with caution and at your own risk! Lately I am quire busy with all kinds of migration work to Team Foundation Server. This means a lot of testing, modifying and re-testing. Because the target Team Project has quite some modifications and custom work it is […]
Continue reading
Insert an inline image into a Work Item with the TFS API
On the verge of 2014 I wanted to share a last post with you. At the moment I am working on a migration tool to migrate from another system to TFS 2013. The source system contains a lot of items with a description that contains images. Not as an attachment but as an inline image into […]
Continue reading
Add permissions with TFSSecurity–The ultimate reference
UPDATE 7/15/2015: Hayder Casey from Microsoft provided me with the details on using the Tagging namespace. You can use this one to set the [Create Tag Definition] security setting. UPDATE 4/25/2016: Microsoft has now updated MSDN to have decent documentation on MSDN found here Sooner or later, every TFS Administrator will face the challenge to […]
Continue reading
Using Local workspaces – Promote Excluded changes with TFS 2012 API
Since the introduction of Local workspaces in TFS 2012 I use them where I can. I really like the concept of local workspaces as it gives me much more flexibility when working with my files. (read more about Server and Local Workspaces in my previous post(s)) Local workspaces are also great when you want to […]
Continue reading