Project Import; Required status 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 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"/>

 

 

最終更新日 2016 年 4 月 21 日

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

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