Exporting Assets objects fails with error "Something went wrong. Contact administrator" in Assets

お困りですか?

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

コミュニティに質問

 

プラットフォームについて: Cloud のみ - この記事は、 クラウド プラットフォームのアトラシアン製品にのみ適用されます。

   

要約

Exporting Asset objects fails with the error "Something went wrong. Contact administrator"

環境

Jira Service Management Assets cloud

診断

When we check the logs at our end, the following exception is reported which suggests that for at least one of the objects being exported, either has a required field missing or a reference field is broken:

java.lang.NullPointerException: this.referencedObjectBeanId must not be null

原因 1

 The customer might be hitting one of these bugs:  JSDCLOUD-9951 - Getting issue details... STATUS Or JSDCLOUD-9971 - Getting issue details... STATUS

ソリューション

As a workaround choose "data consistent" in the Format drop-down when exporting the objects: 

For the bug  JSDCLOUD-9971 - Getting issue details... STATUS split the objects to be exported into smaller batches using AQL condition

原因 2

At least one of the objects being exported has an attribute that has minimum cardinality set to 1, however, there is no value specified for the attribute in at least 1 object. These attributes need to have at least one value. 

ソリューション

Follow the below steps to find the affected attributes:

  1. Try to edit one of the objects and find all the attributes that are mandatory. You will see an asterisk mark:
  2. Make note of all the attributes that are mandatory
  3. Execute the below AQL on the object type to make sure there are no objects that do not have a value set the mandatory attributes:

    "Vendor name" IS EMPTY OR "OS" IS EMPTY
  4. For the affected objects, set a value for the mandatory attributes and perform the export again

原因 3

At least one of the objects being exported has a reference attribute pointing to a value(referenced object) that no longer exists. These broken values need to be removed.

ソリューション

Please contact Atlassian support to help you find the affected objects. Once you have the list of affected objects and their broken values:

  1. Access your schema and look for the objects.
  2. Click on "Edit"
  3. Set a dummy value for the affected reference type attribute 
  4. 変更を保存します。
  5. Edit the object once again and remove the value.
  6. Save the changes one more time.

最終更新日 2023 年 8 月 23 日

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

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