I recently upgraded to TFS 2015 (on premise). I installed the OctoTFS Build Task. Whenever my build gets to the step that creates the Octopus Deploy release, it generates the following error. It creates this error whether or not I choose to include comments and WI titles from my TFS server.
At C:\Agents\agent\tasks\OctopusCreateRelease\0.4.0\Octopus-CreateRelease.ps1:55 char:1
+ - $relatedWorkItems = $relatedWiResponse.Content | ConvertFrom-Json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
The assignment expression is not valid. The input to an assignment operator must be an object that is able to accept assignments, such as a variable or a property.
At C:\Agents\agent\tasks\OctopusCreateRelease\0.4.0\Octopus-CreateRelease.ps1:62 char:1
+ - $workItemsDetails = $relatedWiDetailsResponse.Content | ConvertFrom-Json
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The assignment expression is not valid. The input to an assignment operator must be an object that is able to accept assignments, such as a variable or a property.