microsoft / process-customization-scripts

sample scripts for customers who are exporting and importing process templates to/from TFS
Other
54 stars 43 forks source link

Add Import/Export FieldMapping.xml #3

Closed nschonni closed 6 years ago

nschonni commented 8 years ago

This likely also doesn't apply to the VSTS, but this can be done with Export

TfsFieldMapping  download /collection:$CollectionUrl /teamproject:"$ProjectName" /mappingfile:"$tempFile"

Import

tfsFieldmapping  upload /collection:$CollectionUrl /teamproject:"$ProjectName" /mappingfile:"$outPath"

Similar logic to the witadmin.exe lookup would need to be added, so i'll see if you're interested in this before PR'ing something.

danhellem commented 8 years ago

what is the reason for doing a mapping in this scenario?

nschonni commented 8 years ago

It's used by the Project Server integration https://msdn.microsoft.com/en-us/library/gg412643%28v=vs.120%29.aspx This might not be applicable to the VSTS instances, but it is a part of the Process Template

FokkoVeegens commented 7 years ago

The support for this integration is discontinued for newer versions of TFS: https://blogs.msdn.microsoft.com/visualstudioalm/2016/09/16/microsoft-discontinuing-project-server-tfs-integration/