# Epic AUTOWORK-297 - Contextual Custom Fields API (project-context)

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

## Detailed specification

### Motivation and background information

Currently, the items/values available for a contextual custom field have to be filled in and kept up to date by an admin manually. This doesn&#x27;t scale when the values actually originate from an external system, that changes independently over time. The values should instead be kept in sync automatically via API, without manual admin intervention.

Example: A customer imports project-specific WBS elements from an external system into a hierarchy list / custom field. Each project should only offer its own relevant subset of values, not the full global list. Which values are assigned to which project needs to be managed via API, in sync with the external system.

| 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 | Sonita Soth |
| Accountable |  |
| Product manager | Sonita Soth |
| Feature Lead |  |
| Designer | Parimal Satyal |
| Developers | OP Dev Sirius Team |
| Requested by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| Work |  |

## Description

**User stories**

1.  As an admin I want to connect a contextual custom field&#x27;s list of values to an external system via API so that I don&#x27;t have to manually populate and maintain the list myself and the values stay automatically in sync whenever something changes in the source system.
    
2.  As an admin I want to remove a custom field value from a project&#x27;s context via API, so that it is no longer selectable in that project once it stops being relevant.
