# Feature OP-15662 - [Work Packages] Enable grouping by custom fields of type "Text" in work package views

Project: OpenProject
Status: new
URL: https://community.openproject.org/work_packages/OP-15662

## Planning

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

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

_No work packages_

## Technical Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Feature Flag |  |
| Requires doc change | No |
| Enterprise plan |  |

## Details

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

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

| Attribute | Value |
| --- | --- |
| PD (min) |  |
| PD (max) |  |
| Work |  |
| Labor costs |  |

## Description

**Description**  
Currently, in OpenProject, it is possible to create custom fields for work packages, including a &quot;Text&quot; type field.

However, while custom fields of type &quot;List&quot; or &quot;Date&quot; can be used for grouping work packages in views, custom fields of type &quot;Text&quot; cannot be used for this purpose.

Although it is understandable that grouping by &quot;Long Text&quot; fields might be complex, it would be highly beneficial to allow grouping by &quot;Text&quot; fields (i.e., short text) in work package views.

**User Story**  
**AS an** OpenProject user  
**I WANT to** group work packages by custom fields of type &quot;Text&quot; in work package views  
**SO THAT I can** organize and filter work packages based on short text values, such as the requesting department.

**Acceptance Criteria**

*   The &quot;Text&quot; custom fields should be available in the list of fields for grouping work packages in all relevant views.
    
*   Grouping should work similarly to how it currently does for custom fields of type &quot;List&quot; or &quot;Date.&quot;
    
*   This feature should apply to all &quot;Text&quot; fields, but not to &quot;Long Text&quot; fields.
    

**Current Behavior**  
Currently, custom fields of type &quot;Text&quot; are not available for grouping work packages. The list of available fields for grouping only includes custom fields of type &quot;List&quot; or &quot;Date.&quot;

<img class="image_resized op-uc-image op-uc-image_inline" style="width:649px;">
