# Epic AGILE-264 - Filter-based creation of backlog buckets

Project: Stream agile
Status: in specification
URL: https://community.openproject.org/work_packages/AGILE-264

## Detailed specification

### Motivation and background information

**Summary**

Currently, backlog buckets in OpenProject can only be created manually. This epic introduces the ability to create backlog buckets using work package filters, enabling users to automatically group and organise backlog items based on defined filter criteria (e.g. assignee, type, priority, custom fields, or any existing WP filter).

**Problem statement**

Backlog buckets are a powerful tool for structuring sprint and backlog views. However, the current implementation requires each bucket to be created manually, one by one. For teams with large backlogs or complex categorisation needs, this is time-consuming, inconsistent, and not scalable. Users must create every bucket by hand even when the grouping logic is well-defined, and manually created buckets drift from the actual state of the backlog as work packages are added or reassigned.

### Acceptance criteria

*   A &quot;Use filter&quot; option is available in the bucket creation dialog.
    
*   All existing work package filter types are supported.
    
*   Users can preview matching work packages before confirming bucket creation.
    
*   Buckets are only dynamic (live) not static (snapshot).
    
*   While moving wp between buckets the values of wp adjust in the background, e.g. epic assigned to roadmap q2 moves to q3 bucket -&gt; the roadmap field will be automatically adjusted.
    
*   Dynamic buckets visually indicate their filter definition.
    
*   Filter definition can be adjusted also after the bucket creation or saved as a new bucket.
    
*   Existing manually created buckets are unaffected.
    
*   There should be a visual indication helping users understand if a bucket is a manual or filter-based one.
    

Open questions:

*   how to handle wp being now in multiple buckets?
    
*   how do we handle moving wp from buckets to sprint?
    
*   how do we handle moving those wp back from sprints to buckets?

### Out of scope

| Attribute | Value |
| --- | --- |
| Mockups | https://www.figma.com/design/yRewu4Y5nuWCa8aMM3DFw3/Agile--Sprints-and-Backlogs?node-id=5749-2&t=Hpb4KyP4hQldNesC-1 |

## Planning

| Attribute | Value |
| --- | --- |
| Roadmap | 2027 Q1 |
| Date |  |
| Votes |  |
| List | SAFe |
| Target versions |  |
| Sprint | Sprint 15 |
| Backlog bucket |  |
| Relevance |  |

## Subitems

_No work packages_

## Bugs and other work packages

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Module |  |
| Enterprise plan |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager | Rosanna Sibora |
| Feature Lead |  |
| Designer | Julia Racsko |
| Developers | OP Dev Polaris Team |
| Requested by |  |
| Interest by | Frozit (38662) |

## Estimates and progress

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

## Description

**Examples of user stories**

*   As an agile coach responsible for a SAFe portfolio I would like to create a bucket representing the scope of a certain PI, so that the backlog for ARTs is prioritized well.
    
*   As a product manager, I want to create a bucket for all high-priority bugs so that I can track my most critical items without manually adding them.
    
*   As a scrum master, I want to generate buckets per assignee automatically so that each developer has their own backlog lane without manual setup.
    
*   As a product manager, I want to create buckets for epics per quarter, so that it reflects the roadmap planning.
    

**Goal**

Allow users to define a filter configuration when creating a backlog bucket. The system will automatically evaluate the filter against existing work packages, populate the bucket with matching items, and keep the bucket in sync as the backlog changes.
