Team members are not migrated #1433
Replies: 9 comments 5 replies
-
There is currently no facility for Team Members to migrate, only the Team with its configuration. This would make an awesome pull request! |
Beta Was this translation helpful? Give feedback.
-
I second the necessity of this feature |
Beta Was this translation helpful? Give feedback.
-
@ridhvi, @tbergstedt how would you like it to work? We can likely easily do this where the source and target user are the same. But what if they are different? |
Beta Was this translation helpful? Give feedback.
-
I have only experimented with scenarios where we migrate to team projects in the same Collection, and therefore can assume that the users are same/available. This is currently the only situation we would be using it. (We have a much more crude "team migrator" with this functionality, and I started trying to merge these two, but had to put that aside). I think for my part that we - at least for a start - might just skip team members that are not available in the target project, with a log warning. Trying to convert user names using input like those for e.g. work items opens up for a lot of tricky situations. |
Beta Was this translation helpful? Give feedback.
-
@tbergstedt I like this idea "where the source and target user are the same" and I think this is certainly enough for the migration. |
Beta Was this translation helpful? Give feedback.
-
I am facing the same issue. I want to migrate the teams to another new project and want to migrate the team members from source project teams. Also The team iterations are getting migrated(with states & sprint board), but the capacity planning and other details are missing in target project after migration. Any suggestion for both the issues? |
Beta Was this translation helpful? Give feedback.
-
is there an update on this? |
Beta Was this translation helpful? Give feedback.
-
I have added things that will help us move towards this.
Next step would be to add the ability to copy users to groups (which is what a team is) but we have never touched that part of the system, until the ExportUsersForMapping! Funding for us doing work on this tool is generally through 1) customer funding, or 2) donated free time. |
Beta Was this translation helpful? Give feedback.
-
There used to be a way to create the users and teams in the target project using version 13 configuration. What happened to this? Where can I find a full version 16 compatible example? PS: config conversion fails with exception. {
"ChangeSetMappingFile": null,
"Source": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/orgA/",
"Project": "projA",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "<PAT>",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"Target": {
"$type": "TfsTeamProjectConfig",
"Collection": "https://dev.azure.com/orgB/",
"Project": "projB",
"ReflectedWorkItemIDFieldName": "Custom.ReflectedWorkItemId",
"AllowCrossProjectLinking": false,
"AuthenticationMode": "AccessToken",
"PersonalAccessToken": "<PAT>",
"PersonalAccessTokenVariableName": "",
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
}
},
"FieldMaps": [],
"GitRepoMapping": null,
"LogLevel": "Information",
"CommonEnrichersConfig": null,
"Processors": [
{
"$type": "TfsTeamSettingsProcessorOptions",
"Enabled": true,
"MigrateTeamSettings": true,
"UpdateTeamSettings": true,
"PrefixProjectToNodes": false,
"Teams": ["*"],
"ProcessorEnrichers": null,
"SourceName": "TeamSettingsSource",
"TargetName": "TeamSettingsTarget"
}
],
"Version": "13.1",
"workaroundForQuerySOAPBugEnabled": false,
"WorkItemTypeDefinition": {
"sourceWorkItemTypeName": "targetWorkItemTypeName"
},
"Endpoints": {
"InMemoryWorkItemEndpoints": [
{
"Name": "Source",
"EndpointEnrichers": null
},
{
"Name": "Target",
"EndpointEnrichers": null
}
],
"TfsTeamSettingsEndpoints": [
{
"Name": "TeamSettingsSource",
"AccessToken": "<PAT>",
"Query": {
"Query": "SELECT [System.Id], [System.Tags] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan') ORDER BY [System.ChangedDate] desc"
},
"Organisation": "https://dev.azure.com/orgA/",
"Project": "projA",
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"AuthenticationMode": "AccessToken",
"AllowCrossProjectLinking": false,
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"EndpointEnrichers": null
},
{
"Name": "TeamSettingsTarget",
"AccessToken": "<PAT>",
"Query": {
"Query": "SELECT [System.Id], [System.Tags] FROM WorkItems WHERE [System.TeamProject] = @TeamProject AND [System.WorkItemType] NOT IN ('Test Suite', 'Test Plan') ORDER BY [System.ChangedDate] desc"
},
"Organisation": "https://dev.azure.com/orgB/",
"Project": "projB",
"ReflectedWorkItemIdField": "Custom.ReflectedWorkItemId",
"AuthenticationMode": "AccessToken",
"AllowCrossProjectLinking": false,
"LanguageMaps": {
"AreaPath": "Area",
"IterationPath": "Iteration"
},
"EndpointEnrichers": null
}
]
}
} |
Beta Was this translation helpful? Give feedback.
-
When using TfsTeamSettingsProcessor to migrate teams, no team members are migrated, and one single administrator is set, namely me (as in the person doing the migration).
Beta Was this translation helpful? Give feedback.
All reactions