Cannot remove hidden Assignee field from request types
プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。
サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
要約
When trying to remove an Assignee hidden field from a Request Type you may run into the following error "This field is required by the linked issue type".
診断
Run the following query on your database and see if you have any results.
SELECT * FROM "AO_54307E_VIEWPORTFIELD" WHERE "FIELD_ID" = 'assignee' OR "LABEL" = 'Assignee';
example results
原因
The fields have the field "REQUIRED" set to 'true', this prevents them from being removed from within Jira.
Currently, this is a limitation in Jira to not be able to remove it and is being tracked as a Suggestion here:
回避策
For the time being, what you need to do is change the assignee fields to not be "REQUIRED" within the database.
Before making any changes to the DB, please shut Jira down, and make a backup of your database.
Run the below query to change the fields:
UPDATE "AO_54307E_VIEWPORTFIELD" SET "REQUIRED" = 'false' WHERE ("FIELD_ID" = 'assignee' OR "LABEL" = 'Assignee') AND "REQUIRED" = 'true';
Start Jira up again and try removing the fields from within the Jira UI.
If you still have a problem and are not able to resolve the issue please raise a support ticket and a support engineer will be able to assist you further.