[FE] Show custom work item types in custom fields form
Right now the work item types shown in custom fields form are filtered to just three, we need to change to show the custom work item types. ## Problem In `custom_field_form.vue`, the `workItemTypesForListbox` computed property filters work item types to only Epic, Issue and Task by name: ```javascript workItemTypesForListbox() { // Only displaying Epic, Issue and Task types for 17.11 as other types are not yet supported return this.workItemTypes ?.filter( (type) => type.name === WORK_ITEM_TYPE_NAME_EPIC || type.name === WORK_ITEM_TYPE_NAME_ISSUE || type.name === WORK_ITEM_TYPE_NAME_TASK, ) ?.map((type) => ({ value: type.id, text: type.name, name: type.name, })); }, ``` This means custom work item types (created via the work item type settings) never appear in the dropdown when creating or editing a custom field, even though the underlying GraphQL query (`groupWorkItemTypesForSelect`) already fetches all available work item types. ## Fix Remove the `.filter()` so all work item types (including custom ones) are shown: ```javascript workItemTypesForListbox() { return this.workItemTypes?.map((type) => ({ value: type.id, text: type.name, name: type.name, })); }, ``` Also remove the now-unused imports of `WORK_ITEM_TYPE_NAME_EPIC`, `WORK_ITEM_TYPE_NAME_ISSUE`, and `WORK_ITEM_TYPE_NAME_TASK` from `~/work_items/constants`. ## Files to change - `ee/app/assets/javascripts/groups/settings/work_items/custom_fields/custom_field_form.vue`
issue