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
* Same as for "link work package", but with "create" instead of "link" TODO: define command and keywords
* After the slash command is invoked, a modal is shown where required and most important attributes can be set:
* subject
* project (if rendered 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 in the middle of a line a inline work package link is created
* <br> 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 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) How do we deal with required fields?
**Translation considerations**
* The slash command needs We want to be have translated (same logic as keywords depending on the language of the user, so for example 'Arbeitpaket' could be a keyword for a German user if 'workpackage' is the link work package command) 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
* Same as for "link work package", but with "create" instead of "link"
* After the slash command is invoked, a modal is shown where required and most important attributes can be set:
* subject
* project (if rendered 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 in the middle of a line a inline work package link is created
* <br>
* Title is empty and must be filled out
* Type is set to a default and can be changed
* Decision needed: Open 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) How do we deal with required fields?
**Translation considerations**
* The slash command needs