# Feature AGILE-118 - Sorting and uniqueness constraint in "Inbox" and sprints

Project: Stream agile
Status: closed
URL: https://community.openproject.org/work_packages/AGILE-118

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Target versions | 17.3.0 |
| Sprint |  |
| Backlog bucket |  |
| Votes |  |
| List |  |
| Roadmap |  |
| Relevance |  |

## OPEN POINTS / FEEDBACK

_No work packages_

## Features and Chunks

_No work packages_

## Bugs and other work packages

| ID | Type | Subject | Status | Assignee | Target versions | Spent time | Module |
| --- | --- | --- | --- | --- | --- | --- | --- |
| AGILE-166 | Bug | Drag&drop sometimes does not keep the position | closed |  | 17.3.0 |  | Modules and project features / Backlogs |
| AGILE-127 | Bug | Drag&drop doesn't always work on backlogs page | rejected | Attila Dombi | 17.3.0 |  | Modules and project features / Backlogs |

## 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 |  |
| Developers | Jens Ulferts |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As** an agile user  
**I want to** have a work package be in only one of "inbox" or sprint at any given time and be able to sort within each  
**so that** I can organize the work

*This will be reworked in <mention class="mention" data-id="73084" data-type="work_package" data-text="###73084">\#\#\#73084</mention>* 

**Acceptance criteria**

  - At any given time an open work package will always be:
    
      - In the "inbox" backlog OR
    
      - A single sprint

  - A closed work package without sprint association would also be in the "inbox" backlog but is not displayed.
    
      - This includes work packages being in versions.

  - Moving a work package into any of the containers will remove it from the container it was in before. Moving can be done via:
    
      - Drag\&drop in the "Sprint planning" view
    
      - Using the menu in the "Sprint planning" view
    
      - Setting or removing the sprint in the work packge full/split view or the work package table

  - The user can sort work packages within their container on the "sprint planning" view via
    
      - Drag\&drop
    
      - Menu entries

  - The sort order is persisted

**Development note**

  - The "inbox" will be developed in <mention class="mention" data-id="72198" data-type="work_package" data-text="###72198">\#\#\#72198</mention> . It might well be that the sorting behaviour in the inbox is developed within that ticket.
