# Epic AUTOWORK-248 - Behaviour-like dynamic work package field control for visibility, requiredness, read-only state, and default values

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

## Detailed specification

### Motivation and background information

Client quote in <mention class="mention" data-id="75126" data-type="work_package" data-text="#TOS-215" data-display-id="TOS-215">\#TOS-215</mention> :

> You may want to introduce a few variations between projects of the same type. For example:
> 
>   - The **Description** field is pre‑filled with content that is specific to *Project A*.
> 
>   - The **Description** field is mandatory for *Project B*.
> 
>   - The **Description** field becomes read‑only once the work‑package reaches the “In Instruction” status; this applies only to *Projects B* and *C*.
> 
> These behaviours are similar to project‑level automation rules (see [TOS-218](https://community.openproject.org/work_packages/TOS-218)). However, automation rules always have a trigger—an action performed by a user that initiates the automatic action specified by the rule—whereas behaviours do not have a trigger.

| Attribute | Value |
| --- | --- |
| Mockups |  |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap | 2027 Q2 |
| Date |  |
| Votes |  |
| List |  |
| Target versions |  |
| Sprint |  |
| Backlog bucket |  |
| Relevance |  |

## Subitems

_No work packages_

## Bugs and other work packages

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Designer |  |
| Developers |  |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work | 60d 0h |

## Description

Provide behavior-style mechanisms to dynamically control work package field visibility and interaction rules (mandatory or not) and default values depending on context, project, form, or workflow state.

**Impact:**

Forms become more contextual and enforceable, improving data quality, user guidance, and industrialized request-management scenarios.

<br>

Use case

**Hide fields based on status:** Admins can hide a field when a work package is in a certain status. Example: The field &quot;Resolution&quot; is hidden while a bug is &quot;New&quot; and shown once it is &quot;Closed&quot;.
