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

      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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. API: Create project from template

API: Create project from template

Added by Marco Kreuzer over 1 year ago

Hello

Is it possible to create a project via API with a pre-defined template?

This could be very helpful for customizing the layout. But more important: Some of the API features are not yet implemented. For example, after opening of a default project, the wiki page as well as the documents page are not yet indexed with an id. This only happens after creating an entry. Therefore, there is no way to add an attachment programmatically. However, this could be circumvented by using a template, where the pages are already initialized. Then, attachments can be added.


Replies (2)

RE: API: Create project from template - Added by Alexander Stock over 1 year ago

Hello Marco

while there is no create-from-template API functionality, you could eventually use the copy function [1]. This would allow you to copy an existing project which you could set up for just his purpose.

Best
Alexander

[1] https://www.openproject.org/docs/api/endpoints/projects/

RE: API: Create project from template - Added by Marco Kreuzer over 1 year ago

Thank you very much for your answer. This indeed solves a few of our issues.

  • (1 - 2/2)
Loading...