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 のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

問題

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. Run the following query in the database:

    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.

If the problem persists, or if the query from the diagnosis step did not return any row, please reach out to Atlassian Support via https://support.atlassian.com/ja/.


最終更新日 2020 年 11 月 23 日

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

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