# Feature AUTOWORK-71 - Reuse a type's PDF and subject configuration

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

## 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-97 | Build mode reuse UI and data model | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-98 | Runtime resolution of linked form configurations | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-99 | Implement one-time copy on switching to Independent mode | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-100 | Read-only form configuration reference for Linked types | Implementation | closed |  | 18.0.0 |  |
| AUTOWORK-101 | Cycle detection for linked form configurations | Implementation | closed |  | 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=695-174495&t=hn3sj0ZicbUUSkdZ-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 | David Friquet |
| Designer | Marc Alcobé |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As an** administrator configuring any work package type (sub-type or plain type)  
**I want to** link a type's PDF and subject configuration to a source type or make it independent  
**so that** I can reuse an existing set of export templates and subject patterns across many types, or create my own ones

## Scope

The reuse aspect of this feature covers:

  - PDF export template configuration

  - subject configuration and identifier patterns

## Acceptance criteria

  - For any type, I can set its PDF and subject configuration to
    
      - **Linked** (choosing a source type) *or*
    
      - **Independent**

  - A sub-type defaults to Linked to its parent.

  - A Linked type's PDF and subject configuration resolve to the source at runtime; when I change the source, every linked type reflects it immediately

  - When I switch this configuration to Independent, the system copies the current source's PDF and subject configuration once and then severs the link

  - The system prevents me from creating a cyclic dependency between these sources

  - The core type settings are never part of this aspect; on a sub-type they are inherited from the parent and read-only

## Permissions and visibility considerations

  - **To whom is this feature visible?** Admins and later project admins (via `:manage_subtypes` for project-owned sub-types).

  - **When is it not visible?** 
    
      - Feature flag turned off
    
      - no management permissions

## Translation considerations

<figure class="table op-uc-figure_align-center op-uc-figure"><table class="op-uc-table"><thead class="op-uc-table--head"><tr class="op-uc-table--row"><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">English</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">German</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">French (verify)</p></th><th class="op-uc-table--cell op-uc-table--cell_head"><p class="op-uc-p">Spanish (verify)</p></th></tr></thead><tbody><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Linked to {{type}}</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Verknüpft mit {{type}}</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Lié à {{type}}</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Vinculado a {{type}}</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Source type</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Quelltyp</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Type source</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Tipo de origen</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Use independent configuration</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Unabhängige Konfiguration verwenden</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Utiliser une configuration indépendante</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Usar una configuración independiente</p></td></tr><tr class="op-uc-table--row"><td class="op-uc-table--cell"><p class="op-uc-p">Copy configuration from type (one time)</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Konfiguration einmalig von Typ kopieren</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Copier la configuration depuis un type (une fois)</p></td><td class="op-uc-table--cell"><p class="op-uc-p">Copiar la configuración de un tipo (una vez)</p></td></tr></tbody></table></figure>

## Out of scope

  - Any third mode (only Linked or Independent for now).
