We are using TFS 2017 update 2 on-premises. We want to update our test environment with the build definitions from production. With an extension we could copy the build definitions https://marketplace.visualstudio.com/items?itemName=onlyutkarsh.ExportImportBuildDefinition , but this does not export the task-group of the build definition.
Are there ways to export the task group and import it in another project or in my case in a different TFS server?
The functionality to export Task Groups is certainly present in VSTS. Although the documentation says that is is available in TFS 2017,
https://learn.microsoft.com/en-us/vsts/build-release/concepts/library/task-groups
We haven't seen the References tab being added as of writing this answer. We are using TFS 2017 Update 2. I haven't seen it being added for TFS Update 3 either