# Feature AUTOWORK-74 - Project-level activation of type variants

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

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Use cases

_No work packages_

## Features and Chunks

| ID | Subject | Type | Status | Assignee | Target versions | Spent time |
| --- | --- | --- | --- | --- | --- | --- |
| AUTOWORK-132 | Create primerized list showing all root types in a project | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-146 | Update work packages of the old type to use the new one | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-157 | Allow setting on a type to allow or disallow project-specific variants | Feature | tested |  | 18.0.0 |  |

## Bugs and other work packages

_No work packages_

## Technical Details

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

## Details

| Attribute | Value |
| --- | --- |
| Pull preview |  |
| Mockups | https://www.figma.com/design/Q5gKSjtWQpAz4wjArQ2U5R/Fundamentals--Sub-types?node-id=298-40366&t=WlABnyIh5S5OAlKx-4 |
| Build Number |  |
| Found in mobile app version |  |
| Follow-up feedback e-mail |  |
| Accessibility | No |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead | Oliver Günther |
| Developers | OP Dev Sirius Team |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work | 10d 0h · Σ 10d 0h |
| Labor costs |  |

## Description

**As a** project administrator   
**I want to** choose, for each type family, which single variant my project uses   
**so that** my project's work packages of that type follow the chosen variant's workflow and form while still presenting as the parent type.

## **Acceptance criteria**

  - For each type family, my project: 
    
      - may not activate the type at all
    
      - may activate the root type 
    
      - or **switch** to one variant of that root type

  - The available variants I can choose from are 
    
      - global types and variants of the same type
    
      - project-specific variants that I have defined for my own project, IF the type allows to have project-specific variants AND I have the appropriate permissions to manage variants.

  - Activating a type variant for a family replaces the previously active member; my project can never have two members of the same family active. 

  - A project-owned type variant is selectable only in the project it was created in. It is never shared between projects.

  - Work package always show the root type's name, e.g., "Bug", never the variant name. It's configuration will change depending on the variant that I choose
    
      - Workflows might be different, requiring manual or automatic interaction. see <mention class="mention" data-id="AUTOWORK-155" data-type="work_package" data-text="##AUTOWORK-155">##AUTOWORK-155</mention>

  - I cannot deactivate a type that still has work packages in my project.

## **Permissions and visibility considerations**

  - **To whom is this feature visible?** Project members with `:manage_types` (existing) for activation, and `:manage_subtypes` (Feature 8) for creating or managing project-owned sub-types.

  - **When is it not visible?** Feature flag turned off, without project type management rights.

## **Out of scope**

  - Changing the active variant hands off to impact preview and optional re-typing.

  - Allowing multiple sub-types of the same family in one project

  - The project-owned type variant creation, which is a separate feature

  - Re-typing existing work packages when the active variant changes
