TFS 2017 Update1: Programmatically updating TFS Release Definitions removes server phase (manual intervention)

337 Views Asked by At

In TFS 2017 Update 1 after downloading programmatically a release definition with REST api, I edited the downloaded json and uploaded again programmatically.

The changes are present. However the server phase of manual intervention is missing in the environments after the changes.

Can someone else reproduce it?

The program C# to download and upload the release definition is at my github page githubpage

1

There are 1 best solutions below

2
Eddie Chen - MSFT On BEST ANSWER

Use api-version=3.2-preview.3 instead of 3.0-preview.2 when you update the release definition.