Project Import responds with Required status error
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
問題
When importing a project you receive an error regarding a status being required even though it is present in the JIRA instance that you are importing into.
The status 'TO DO' is required for the import but does not exist in the current JIRA instance.
The status 'TO DO' is in use by an issue of type 'Sub-task' in the
backup file. The workflow 'YYZ: some Workflow', which is
associated with issue type 'Sub-task', does not use this status. You
must either edit the workflow to use the status or associate a workflow
with issue type 'Sub-task' that uses the status.
See the documentation for more information診断
原因
Note the capitalization of the status. In this particular example the source data had a status of 'TO DO' but the destination had a status of 'To Do'. Even though you chose to map the status it doesn't see the status as exact and will still throw the above mentioned error.
回避策
Workarounds are ways to temporally circumvent a problem, although it still exists in the application.
Open the entities.xml from the backup you are trying to import from. You should find a line similar to the below near the end of the file. Edit the "TO DO" in this case to match the correct capitalization of the status in the destination instance and you should now be able to import the project without error.
<Status id="10002" sequence="9" name="TO DO" iconurl="/images/icons/statuses/open.png" statuscategory="2"/>
この内容はお役に立ちましたか?