# Feature OP-1909 - [APIv3] Create new work packages

Project: OpenProject
Status: closed
URL: https://community.openproject.org/work_packages/OP-1909

## Planning

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Target versions | 4.2.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

_No work packages_

## 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 | Robin Wagner |
| Accountable | Alexander Bach |
| Product manager |  |
| Feature Lead |  |
| Developers |  |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Estimates and progress

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

## Description

**As an** OpenProject user  
**I want to** create work packages using API v3  
**so that** I can create work packages with the work packages form or MS Office Add-ins.

### Acceptance criteria

  - APIv3 capability to
      - create a new work package
  - document new APIv3 capabilities

### Technical Solution Concept

**required endpoints**

  - `/api/v3/projects/:id/work_packages` (POST; adding a work package to given project)
  - `/api/v3/projects/:id/work_packages/form` (POST; form for adding a work package)

**changes to project representer**

Add create links that basically look like the existing update links of a work package:

  - `createWorkPackageImmediate`
  - `createWorkPackage` (link to the form endpoint)
