Getting the error "Field does not belong to the Request Type." when clicking on "Edit fields" to edit a Service Management Request Type

お困りですか?

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

コミュニティに質問

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

問題

In a Service Management project, whenever a new Request Type is created, the error  "Field does not belong to the Request Type." is displayed in the UI when clicking on the "Edit fields" button:
 

診断

  • This issue only impacts newly created Request Types, not the current Request Types.
  • If the following query returns any row, then this knowledge base article applies to you:

    select * from fieldlayoutitem where isrequired = 'false' and fieldidentifier = 'summary';

原因

The system field "summary" is set to "non-required" in a field configuration scheme in the database, although this field should always be required, as it is not possible to make it optional from the Jira UI. Due to this data inconsistency, the Request Type. Due to this irregular situation which is not expected by the Service Management application, this causes some data inconsistency and it becomes impossible to the edit the fields of any newly created Request Type.

回避策

  1. Run the following query to determine which field configuration(s) is/are impacted by the non-required summary field issue. Note the ID(s) from the id column. This information will be used in Step 4.

    select * from fieldlayoutitem where isrequired = 'false' and fieldidentifier = 'summary';
  2. Jira を停止します。

  3. Create a backup of your database, so that you can revert the database changes if anything go wrong
  4. データベースで次のクエリを実行します。

    update fieldlayoutitem set isrequired = 'true' where id in (LIST_OF_IDS_OBTAINED_IN_STEP_1>) and fieldidentifier = 'summary';
  5. Jira の起動

  6. Create a new Request Type and try to edit it. You should now be able to edit the fields from this Request Type.

問題が引き続き発生する場合、あるいは診断ステップのクエリが結果を返さなかった場合は、https://support.atlassian.com/ja/ からアトラシアン サポートにお問い合わせください。


最終更新日 2020 年 11 月 23 日

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

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