# Feature AUTOWORK-163 - Create migrated variants for previous custom field selections

Project: Stream Workflows & Automations
Status: tested
URL: https://community.openproject.org/work_packages/AUTOWORK-163

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-310 | Code maintenance | Remove custom_fields_projects table | specified |  | 18.1.0 |  |  |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Administration / Type/Variants and Workflows |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan | Community (COM) |

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | David Friquet |
| Designer | Parimal Satyal |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |
| Labor costs |  |

## Description

## **Acceptance criteria**

*   For a single configuration that diverges from the global type configuration through the Project settings &gt; work packages &gt; custom fields select
    
    *   create a new variant for each type that the custom field was disabled for
        
*   This migration will create project-specific variants if there is only one project with this set of attributes
    
*   If multiple projects share the same configuration, the variants will be called globally after all, and the projects will use them
    
*   The naming of the variants will be &quot;Type name without Field A, Field B, ...&quot; with a cut-off when there are too many fields disabled
