Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      OpenProject ID Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Updated by Jens Ulferts over 4 years ago

The API v3 already supports the ability to create a new project. But it lacks the ability to copy existing projects as offered in the UI.

**Acceptance criteria**

* POST /api/v3/projects/:id/copy endpoint to trigger copying a project
* The endpoint checks for the same permission as the copy projects UI
* The endpoint takes the same parameters as the create project endpoint but:
* Also allows specifying which data to copy (work packages, members, ...)
* Then endpoint redirects to the delayed job status endpoint to allow the client to query for the status of the copy job
* Documented in the API documentation

**Out of scope**

* No change to the inner workings of the copy project job & no bug fixes.
Loading...