Content
View differences
Updated by Henriette Darge almost 2 years ago
**As** a user
**I want to** prefill a create form of Work Packages with the new-URL with fields from the querystring.
**so that** I can create a QR Code for creating new Tasks with prefilled values
**Acceptance criteria**
* /work\_packages/new?subject=123 will fill the subject with the numbers 123
* /work\_packages/new?subject=123&type=2 will fill the subject with the numbers 123 and set the type to id 2
**I want to** prefill a create form of Work Packages
**so that** I can create a QR Code for creating new Tasks with prefilled values
**Acceptance criteria**
* /work\_packages/new?subject=123 will fill the subject with the numbers 123
* /work\_packages/new?subject=123&type=2 will fill the subject with the numbers 123 and set the type to id 2