外部ディレクトリから Jira 内部ディレクトリへの移行
ご使用の Jira サイトが現在ユーザー管理に LDAP または Crows アプリケーションを使用している場合、以下の説明に従って内部ユーザー管理に戻すことができます。Jira インスタンスに少数のユーザーしかいない場合、手動で Jira にユーザーとグループを再作成するほうが簡単です。ユーザーとグループの数が多い場合は、関連するユーザーとグループを Jira 内部ディレクトリに移行するほうが効率的です。
All the options provided below will reset the affected users' passwords. When done, be sure to notify them to use the 'Reset My Password' link on the Jira log in page before they attempt to log in.
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Fisheye および Crucible は除く
オプション 1 – 手動でユーザーとグループを Jira に再作成する
少数のユーザーとグループしかない場合に、このオプションを使用します。
- Jira にシステム管理者としてログインします。
- ユーザー ディレクトリの管理画面に進み、[順序] 列の矢印をクリックして、ディレクトリの一覧の先頭に内部ディレクトリを移動します。
- 各アプリケーション アクセスに、内部ディレクトリのユーザーが 1 人以上いることを確認します。
- アプリケーション アクセスを提供しているグループは、[管理] > [アプリケーション] > [アプリケーション アクセス] で確認できます。
- 内部ディレクトリに、Jira システム管理者権限を持つユーザー名 ([管理] > [システム] > [グローバル権限]) が存在することを確認します。
- このようなユーザーがいない場合、新しくユーザーを追加し、Jira からログアウトします。
- 追加したユーザーとしてログインし直し、ユーザー ディレクトリ管理画面に戻ります。
- [外部ディレクトリ] ディレクトリを無効化します。
- 必要なユーザーとグループを Jira に手動で作成します。内部ディレクトリをディレクトリ一覧の先頭に移動したため、これらのユーザーとグループは内部ディレクトリに追加されます。
- LDAP または外部ディレクトリに存在するグループに Jira 権限を割り当てた場合、Jira 内に同じ名前のグループを作成する必要があります。
- LADP に存在するユーザーが Jira 内でコンテンツを作成したか、Jira 内で権限を割り当てられている場合、そのユーザーを Jira で作成する必要もあります。
- ユーザーを目的のグループに追加します。
Option 2 – Third-Party App
The App User Management for Jira provides additional user managements features, such as the ability to migrate users from external to internal directory.
Depending on the size of your instance and considering the database manipulation risk, it might be a better approach.
オプション 3 – LDAP/Crowd アプリケーションのユーザーとグループを Jira データベースに転送する
This should be used as a last resort only when the previous options are not viable. This method is not supported. The Atlassian Support team won't be able to assist you with this process.
この方法をテスト環境で試し、本番環境に変更をデプロイすることを決定する前にデータベースのフル バックアップを行うことを強くお勧めします。
User content is associated through the app_user:user_key
value, so the user's content should remain associated with them after the changes below. The app_user
on its hand is associated back with the cwd_user
table through the lower_user_name
value.
There are apps on our marketplace that ease the migration of users between directories, without you requiring to perform the complex workaround below. We suggest that you evaluate these apps before proceeding with the option below.
外部ユーザー ディレクトリ (LDAP または Crowd アプリケーション) ユーザーを Jira データベースに移行するためにこのオプションを使用します。このタスクを実行するには、SQL の知識が必要です。
以下に示す SQL コマンドは、MySQL 用に調整されています。MySQL 以外のデータベースを使用している場合、この SQL を変更してご使用のデータベースで作業する必要があります。