You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/completing-your-migration-with-github-enterprise-importer/accessing-your-migration-logs-for-github-enterprise-importer.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ People with read access to a repository can access the migration log for the rep
41
41
42
42
## Downloading a repository migration log with the {% data variables.product.prodname_cli %}
43
43
44
-
Organization owners and people with the migrator role can download migration logs using the {% data variables.product.prodname_cli %}. For more information about the migrator role, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
44
+
Organization owners and organization members with the migrator role can download migration logs using the {% data variables.product.prodname_cli %}.
45
45
46
46
You can download the latest migration log for an individual repository with the `download-logs` command. The exact command depends on your migration source.
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products.md
## About required access for {% data variables.product.prodname_importer_proper_name %}
@@ -28,9 +30,22 @@ Additionally, if you use IP allow lists with the source or destination, you may
28
30
29
31
If you're migrating from {% data variables.product.prodname_ghe_server %} 3.8 or higher for the first time, you also need someone with access to the {% data variables.enterprise.management_console %} to set up blob storage for {% data variables.location.product_location_enterprise %}.
30
32
33
+
## About the migrator role
34
+
35
+
{% data reusables.enterprise-migration-tool.about-the-migrator-role %}
36
+
37
+
{% note %}
38
+
39
+
**Notes:**
40
+
- If you're migrating a repository between two organizations on {% data variables.product.prodname_dotcom_the_website %}, you can grant the migrator role to the same person or team for both organizations, but you must grant each separately.
41
+
- You cannot grant the migrator role for enterprise accounts. Therefore, you can only run an organization migration if you're an owner of the destination enterprise. However, you can grant the migrator role to that enterprise owner for the source organization.
42
+
- The {% data variables.product.prodname_cli %} does not support granting the migrator role for organizations on {% data variables.product.prodname_ghe_server %}, so you must be an organization owner of the source organization to migrate repositories from {% data variables.product.prodname_ghe_server %}.
43
+
44
+
{% endnote %}
45
+
31
46
## Required roles
32
47
33
-
For the source and destination of the migration, different roles are required for different tasks. For some tasks, you can grant the migrator role to a user or team. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
48
+
For the source and destination of the migration, different roles are required for different tasks.
To allow someone other than an organization owner to run a repository migration or download migration logs, you can grant the migrator role to a user or team. For more information, see "[About the migrator role](#about-the-migrator-role)."
97
+
98
+
You can grant the migrator role using either the {% data variables.product.prodname_gei_cli %} or the GraphQL API.
99
+
100
+
- "[Granting the migrator role with the {% data variables.product.prodname_gei_cli_short %}](#granting-the-migrator-role-with-the-ado2gh-extension)"
101
+
- "[Granting the migrator role with the GraphQL API](#granting-the-migrator-role-with-the-graphql-api)"
102
+
103
+
### Granting the migrator role with the {% data variables.product.prodname_gei_cli_short %}
104
+
105
+
To grant the migrator role using the CLI, you must have installed the {% data variables.product.prodname_gei_cli %}. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/migrating-repositories-from-githubcom-to-github-enterprise-cloud#step-1-install-the-gei-extension-of-the-github-cli)."
106
+
107
+
1. On {% data variables.product.prodname_dotcom_the_website %}, create and record a {% data variables.product.pat_generic %} that meets all the requirements for granting the migrator role. For more information, see "[Creating a {% data variables.product.pat_generic %} for {% data variables.product.prodname_importer_proper_name %}](#creating-a-personal-access-token-for-github-enterprise-importer)."
108
+
{% data reusables.enterprise-migration-tool.grant-migrator-role-pat %}
109
+
1. Use the `gh gei grant-migrator-role` command, replacing ORGANIZATION with the organization you want to grant the migrator role for, ACTOR with the user or team name, and TYPE with `USER` or `TEAM`.
110
+
111
+
```shell copy
112
+
gh gei grant-migrator-role --github-org ORGANIZATION --actor ACTOR --actor-type TYPE
113
+
```
114
+
115
+
### Granting the migrator role with the GraphQL API
116
+
117
+
{% data reusables.enterprise-migration-tool.grant-migrator-role-graphql %}
118
+
79
119
## Creating a {% data variables.product.pat_generic %} for {% data variables.product.prodname_importer_proper_name %}
80
120
81
121
{% data reusables.enterprise-migration-tool.creating-a-pat-steps %}
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-between-github-products/migrating-organizations-from-githubcom-to-github-enterprise-cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ redirect_from:
27
27
## Prerequisites
28
28
29
29
{% data reusables.enterprise-migration-tool.migration-prerequisites %}
30
-
- For the source organization, you must be an organization owner or have the migrator role. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
30
+
- For the source organization, you must be an organization owner or have the migrator role. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#about-the-migrator-role)."
31
31
- For the destination enterprise account, you must be an enterprise owner.
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-between-github-products/migrating-repositories-from-github-enterprise-server-to-github-enterprise-cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ To migrate your repositories from {% data variables.product.prodname_ghe_server
50
50
## Prerequisites
51
51
52
52
{% data reusables.enterprise-migration-tool.migration-prerequisites %}
53
-
-You must be either an organization owner or be granted the migrator role for both the source and destination organizations. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
53
+
-In both the source and destination organizations, you must be either an organization owner or be granted the migrator role. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#about-the-migrator-role)."
54
54
- If you use {% data variables.product.prodname_ghe_server %} 3.8 or higher, you need access to the {% data variables.enterprise.management_console %}.
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-between-github-products/migrating-repositories-from-githubcom-to-github-enterprise-cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ redirect_from:
27
27
## Prerequisites
28
28
29
29
{% data reusables.enterprise-migration-tool.migration-prerequisites %}
30
-
-You must be either an organization owner or be granted the migrator role for both the source and destination organizations. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
30
+
-In both the source and destination organization, you must be either an organization owner or be granted the migrator role. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#about-the-migrator-role)."
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-between-github-products/overview-of-a-migration-between-github-products.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -78,15 +78,15 @@ To migrate an organization, you must be an organization owner for the source org
78
78
Additionally, you must be an enterprise owner on the destination enterprise account. You cannot grant the migrator role for enterprise accounts.
79
79
80
80
1. Confirm that the person who will run your migrations is an enterprise owner of the destination enterprise account.
81
-
1. If that person is not an organization owner for the source organization, grant them the migrator role for the organization. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
81
+
1. If that person is not an organization owner for the source organization, grant them the migrator role for the organization. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#about-the-migrator-role)."
82
82
{% data reusables.enterprise-migration-tool.confirm-migrator-has-correct-pats %} For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#required-scopes-for-personal-access-tokens)."
83
83
84
84
#### Deciding who will run repository migrations
85
85
86
86
To migrate a repository, you must be an organization owner for both the source organization and the destination organization, or an organization owner must grant you the migrator role for each organization where you're not an owner.
87
87
88
88
1. Decide whether you want an organization owner to perform your migrations, or whether you need to grant the migrator role to someone else.
89
-
{% data reusables.enterprise-migration-tool.grant-migrator-tasks %}
89
+
{% data reusables.enterprise-migration-tool.grant-migrator-tasks %} For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-between-github-products/managing-access-for-a-migration-between-github-products#about-the-migrator-role)."
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/managing-access-for-a-migration-from-azure-devops.md
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -21,9 +21,13 @@ To migrate a repository from Azure DevOps to GitHub, you need sufficient access
21
21
22
22
Additionally, if you use IP allow lists with the source or destination, you may need to configure the allow lists to allow access by {% data variables.product.prodname_importer_proper_name %}.
23
23
24
+
## About the migrator role
25
+
26
+
{% data reusables.enterprise-migration-tool.about-the-migrator-role %}
27
+
24
28
## Required roles for {% data variables.product.company_short %}
25
29
26
-
For the destination organization on {% data variables.product.prodname_dotcom %}, different roles are required for different tasks. For some tasks, you can grant the migrator role to a user or team. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
30
+
For the destination organization on {% data variables.product.prodname_dotcom %}, different roles are required for different tasks.
27
31
28
32
{% data reusables.enterprise-migration-tool.gei-required-roles %}
29
33
@@ -43,6 +47,31 @@ Your Azure DevOps {% data variables.product.pat_generic %} must have `work item
43
47
44
48
If you want to migrate from multiple organizations, allow the {% data variables.product.pat_generic %} to access all accessible organizations. For more information, see [Use {% data variables.product.pat_generic %}s](https://docs.microsoft.com/en-us/azure/devops/organizations/accounts/use-personal-access-tokens-to-authenticate?view=azure-devops&tabs=preview-page#create-a-pat) in Microsoft Docs.
45
49
50
+
## Granting the migrator role
51
+
52
+
To allow someone other than an organization owner to run a migration or download migration logs, you can grant the migrator role to a user or team. For more information, see "[About the migrator role](#about-the-migrator-role)."
53
+
54
+
You can grant the migrator role using either the {% data variables.product.prodname_ado2gh_cli %} or the GraphQL API.
55
+
56
+
- "[Granting the migrator role with the {% data variables.product.prodname_ado2gh_cli_short %}](#granting-the-migrator-role-with-the-ado2gh-extension)"
57
+
- "[Granting the migrator role with the GraphQL API](#granting-the-migrator-role-with-the-graphql-api)"
58
+
59
+
### Granting the migrator role with the {% data variables.product.prodname_ado2gh_cli_short %}
60
+
61
+
To grant the migrator role using the CLI, you must have installed the {% data variables.product.prodname_ado2gh_cli %}. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/migrating-repositories-from-azure-devops-to-github-enterprise-cloud#step-1-install-the-ado2gh-extension-of-the-github-cli)."
62
+
63
+
1. On {% data variables.product.prodname_dotcom_the_website %}, create and record a {% data variables.product.pat_generic %} that meets all the requirements for granting the migrator role. For more information, see "[Creating a {% data variables.product.pat_generic %} for {% data variables.product.prodname_dotcom %}](#creating-a-personal-access-token-for-github)."
64
+
{% data reusables.enterprise-migration-tool.grant-migrator-role-pat %}
65
+
1. Use the `gh ado2gh grant-migrator-role` command, replacing ORGANIZATION with the organization you want to grant the migrator role for, ACTOR with the user or team name, and TYPE with `USER` or `TEAM`.
66
+
67
+
```shell copy
68
+
gh ado2gh grant-migrator-role --github-org ORGANIZATION --actor ACTOR --actor-type TYPE
69
+
```
70
+
71
+
### Granting the migrator role with the GraphQL API
72
+
73
+
{% data reusables.enterprise-migration-tool.grant-migrator-role-graphql %}
74
+
46
75
## Creating a {% data variables.product.pat_generic %} for {% data variables.product.prodname_dotcom %}
47
76
48
77
{% data reusables.enterprise-migration-tool.creating-a-pat-steps %}
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/migrating-repositories-from-azure-devops-to-github-enterprise-cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ redirect_from:
27
27
## Prerequisites
28
28
29
29
{% data reusables.enterprise-migration-tool.migration-prerequisites %}
30
-
- For the destination organization on {% data variables.product.prodname_dotcom_the_website %}, you need to be an organization owner or have the migrator role. For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/preparing-to-migrate-with-github-enterprise-importer/granting-the-migrator-role-for-github-enterprise-importer)."
30
+
- For the destination organization on {% data variables.product.prodname_dotcom_the_website %}, you need to be an organization owner or have the migrator role. For more information about the migrator role, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/managing-access-for-a-migration-from-azure-devops#about-the-migrator-role)."
Copy file name to clipboardExpand all lines: content/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/overview-of-a-migration-from-azure-devops-to-github-enterprise-cloud.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Service hooks are not migrated from ADO, so you will need to recreate them separ
64
64
To migrate a repository, you must be an organization owner for the destination organization, or an organization owner must grant you the migrator role.
65
65
66
66
1. Decide whether you want an organization owner of the destination organization to perform your migrations, or whether you need to grant the migrator role to someone else.
67
-
{% data reusables.enterprise-migration-tool.grant-migrator-tasks %}
67
+
{% data reusables.enterprise-migration-tool.grant-migrator-tasks %} For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/managing-access-for-a-migration-from-azure-devops#about-the-migrator-role)."
68
68
{% data reusables.enterprise-migration-tool.confirm-migrator-has-correct-pats %} For more information, see "[AUTOTITLE](/migrations/using-github-enterprise-importer/migrating-from-azure-devops-to-github-enterprise-cloud/managing-access-for-a-migration-from-azure-devops#required-scopes-for-personal-access-tokens)."
69
69
70
70
### What organizational structure do we want in {% data variables.product.prodname_dotcom %}?
0 commit comments