Content
View differences
Updated by Judith Roth 2 days ago
**As** a user
**I want to** create a new work package from the document
**so that** I can easily organise work without switching context.
**Acceptance criteria**
* Invoke via Slash command
* TODO: define command and keywords
* After the slash command is invoked, Creates a modal is shown where required and most important attributes can be set:
* subject
* project (if rendered workpackage, embeds a rich representation in OpenProject context and inside a project, this is prefilled with the current project)
* type
* status
* assignee
* Creates a work package link the document
* When invoked on an empty paragraph / new line a card work package link is created
* When invoked see in the middle of a line a inline work package link is created specificationImplementation [#67571:](https://community.openproject.org/work_packages/67571) Show/edit embedded workpackage for resulting block
* Uses current project
* Title is empty and must be filled out
* Type is set to a default and can be changed
* Decision needed: Open Point <mention Point [<mention class="mention" data-id="67485" data-type="work_package" data-text="##67485" data-display-id="67485">##67485</mention>[:](https://community.openproject.org/work_packages/67485) data-text="##67485">##67485</mention>:](https://community.openproject.org/work_packages/67485) How do we deal with required fields?
**Translation considerations**
We want to have translated keywords depending on the language of the user, so for example 'Arbeitpaket' 'Arbeitpaket' could be a keyword for a German user if 'workpackage' 'workpackage' is the keyword.
**I want to** create a new work package from the document
**so that** I can easily organise work without switching context.
**Acceptance criteria**
* Invoke via Slash command
* TODO: define command and keywords
* After the slash command is invoked,
* subject
* project (if rendered
* type
* status
* assignee
* Creates a work package link the document
* When invoked on an empty paragraph / new line a card work package link is created
* When invoked
* Uses current project
* Title is empty and must be filled out
* Type is set to a default and can be changed
* Decision needed: Open Point <mention
**Translation considerations**
We want to have translated keywords depending on the language of the user, so for example 'Arbeitpaket'