# Feature BNE-138 - Create work package via search in a document

Project: Stream BlockNote extensions
Status: tested
URL: https://community.openproject.org/work_packages/BNE-138

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 18.0.0 |
| Sprint | Sprint 20 |
| 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 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| BNE-196 | Bug | Documents: create work package option opens on top instead of the bottom in certain cases | confirmed |  | 18.0.0 |  | Modules and project features / Text editor / BlockNoteJS, Modules and project features / Documents |

## Technical Details

| Attribute | Value |
| --- | --- |
| Module | Modules and project features / Documents, Modules and project features / Text editor / BlockNoteJS / OpenProject Extensions |
| Feature Flag |  |
| Requires doc change | Yes |
| Enterprise plan | Community (COM) |

## Details

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

## People

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

## Estimates and progress

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

## Description

**As** a user searching for a work package in a document  
**I want to** be able to easily create it when my search does not return what I want

**Acceptance criteria**

*   When searching for an existing work package (via slash command or hash) we show an entry (at the bottom of the list): &quot;Create new work package&quot;
    
*   If the entry is clicked, the &quot;Create work package&quot; modal is shown
    
    *   The search query is prefilled as subject for the new work package
        
    *   Other values are prefilled according to their default values or based on the last work package that was created in the same session in the same document
        

**Technical notes**

*   <br>
    

**Permissions and visibility considerations**

*   _To whom is this feature visible?_
    
*   _When is it not visible?_
    

**Translation considerations**

*   _Key terms and phrases in the key languages_&nbsp;
    

**Out of scope**

*   <br>
    

_Set the_ **To be informed/consulted teams** _field to include all teams necessary to be informed of the changes._
