Error importing projects due to Gantt's issue link type style error

お困りですか?

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

コミュニティに質問


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

要約


When attempting to import issues on Jira a user or admin may be presented with the following error message:

The Issue Link Type 'Gantt Dependency' has style 'Gantt' in the backup, but has no style in the current system.
The Issue Link Type 'Gantt: finish-finish' has style 'Gantt' in the backup, but has no style in the current system.
The Issue Link Type 'Gantt: start-finish' has style 'Gantt' in the backup, but has no style in the current system.
The Issue Link Type 'Gantt: start-start' has style 'Gantt' in the backup, but has no style in the current system.

環境

8.13.9

診断

When doing the import, the error from Summary is presented and it prevents import.

By reviewing the results of the query below you'll find that the Issue Link Types from the error message do not have the expected "pstyle" value.

select * from issuelinktype; 

原因

It's unclear whether it's a conflict between two plugins specifically BigGantt - Gantt Chart for Jira and BigGantt - Gantt Chart for Jira coupled with expectations from the importer.

ソリューション

The solution involves updating the issuelinktype  entries so they have the expected value.

データベースの変更を行う前に必ずデータをバックアップしてください。可能であれば、まずステージング サーバーで、すべての変更、挿入、更新、または削除の SQL コマンドをテストしてください。

The actual values in the {update statement linkname  below may change depending on your error message. This article only applies to Gantt link types.

1.  Stop Jira.
2. Update database.

update issuelinktype set pstyle='Gantt' where linkname in ('Gantt Dependency','Gantt: start-start','Gantt: start-finish','Gantt: finish-finish');

3. Restart Jira.

最終更新日 2021 年 9 月 27 日

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

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