How to disable a workflow task in a release using rest APIs?

Recently one of the customer wanted to know how to disable a task in a release using the rest APIs and here is the code that I shared with him. You can get the PAT token using the instructions mentioned here. param ( [Parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [string] $token ) ## Construct a basic auth head using…

0

How to use an old build for release?

I have seen customers asking this question about they can use an old build while creation of a release as we show only latest 100 builds in the create release dialog. For example in the below dialog, we are not showing any builds older than …20170510.33 version. Here are the steps that you should follow…

0

Auto-resume on manual intervention timeout

Recently we have added an option in our manual intervention task which enables auto resuming the task on timeout. You can use it to introduce delays between 2 environments without consuming agents.

0

VS402903: The specified value is not convertible to type ReleaseDefinition. Make sure it is convertible to type ReleaseDefinition and try again

Recently one of the customer reported that he is trying to update a variable in an existing release definition and it is failing with above mentioned error. Sandeep Venkata from the team worked on this problem and found a good solution which should be useful for you. Here is the customer script, failure and solution….

0

How to add/view additional log files in releases?

Recently one of the customer asked how he can add additional log files in their task execution so that the users can view them as well. Rohit Batra from the team gave the following steps to the customer which should be useful for you as well. In your task ensure that you are uploading the log…

0

TeamFoundationServer 15 RC2 Release Management UI in French/German/Italian language

Post RC2 release, we observed that Release Management UI does not work well while opening the environment options dialog, viewing the linked artifacts etc in French, German and Italian language. In French, you can observe an error similar to this. Unable to parse bindings. Message: SyntaxError: ‘}’ attendu; Bindings value: showTooltip: { text: ‘Conservez la…

0

How to use manual Intervention (Task) in Release Management?

Couple of days we deployed our sprint 105 payload on VSTS which enabled manual intervention feature in release management. In this post, I will walk you through the steps you can perform to use manual intervention in your releases. How to add manual intervention task in your release definition? Add automated tasks in your environment…

0

How to disable traffic overview page?

Recently one of the customer complained that the traffic overview page in WPF RM is very slow and the data on that page is not very useful for him. So he wanted to know whether there is any way by which he can disable that page. There is a dirty trick by which you can disable it…

0

Manage RM permissions using TfsSecurity.exe

Recently one of the customer wanted to know whether he can programmatically manage RM-related permissions. The msdn documentation for this is not yet finished, so Rohit Batra from the team put together a list of steps on how it can achieved and they are as follows. Step to add a new group at the collection…

0

How to update release level variables using RM rest APIs?

Recently one of the customer wanted to add a release variable using RM Rest APIs and I shared with him the following code. You can get the PAT token using the instructions mentioned here. Powershell Sample param ( [Parameter(Mandatory=$true)] [ValidateNotNullOrEmpty()] [string] $token ) ## Construct a basic auth head using PAT function BasicAuthHeader() { param([string]$authtoken)…

0