We couldn't import Plan because of missing dependencies: Project Version

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: 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 は除く

要約

Check what to do when your Jira Cloud Migration Assistant (JCMA) migration fails to migrate Advanced Roadmaps (AR) plans due to missing Project Version dependencies.

概要

The error message below will surface when some project versions related to an AR plan are out of sync within Jira; they may not exist anymore. The <plan-id> and <plan-name> refer to the project id and name.

ERROR CROSS-PROJECT-DATA project-import We couldn't import Plan <plan-id> because of 1 missing dependencies: Project Version '<version-name>'

When a project version is deleted from the project, that deletion doesn't propagate to the AR plans.

Reopening the AR plans on the Exclusion Rules allows Jira to fetch the most up-to-date data related to its versions.

ソリューション

The solution will depend on the version of the Advanced Roadmaps installed.

Advanced Roadmaps 8.15 and higher - following Jira's 8.15 upwards

 Just by opening the Exclusion Rules UI, the releases that have been excluded will be updated on the database.

(Option 1) Reach the page directly

  1. Navigate to the following URL, replacing the <plan-id> with the one mentioned in the error log message and <jira_base_url> with the Jira on-prem base URL.

    <jira_base_url>/secure/PortfolioPlanView.jspa?id=<plan-id>#settings/setExclusionRules
  2. 移行を再度試みます。

エラー ログ:

ERROR CROSS-PROJECT-DATA project-import We couldn't import Plan 55 because of 1 missing dependencies: Project Version 'Version Name'.

URL:

https://myjirasite.com/secure/PortfolioPlanView.jspa?id=55#settings/setExclusionRules 

(Option 2) Navigate through the UI

  1. Open the AR Plan.
  2. [構成] をクリックします。
  3. Click Exclusion Rules

Advanced Roadmaps 3.29 and lower - available until Jira 8.14.x

Advanced Roadmaps 3.29 and lower don't have the Exclusion Rules UI, so the solution is to delete the invalid Project Versions entries from the database.

JCMA エラー ログ ファイルからのエントリのみを削除します。

Let's use the error message below as an example (make sure to replace the Project Version IDs with the ones present on your log files):

ERROR CROSS-PROJECT-DATA project-import We couldn't import Plan 17 because of  4 missing dependencies: 
Project Version 19200, Project Version 19301, Project Version 19404, Project Version 19418.
  1. Stop Jira Server.
  2. Take a backup from the database.
  3. Delete the entries referenced in the log:

    DELETE FROM AO_D9132D_EXCLUDED_VERSIONS WHERE VERSION IN (19200, 19301, 19404, 19418);
  4. Jira を起動して、JCMA で新しい移行プランを実行します。


PostgreSQL を使用している場合は、テーブル名と列名を二重引用符で囲む必要があります。

最終更新日 2024 年 4 月 16 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.