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

Updated by Frank Michler over 7 years ago

In the Documentation on http://docs.openproject.org/apiv3-doc/\#work-packages
is the following imho incorrect example:

{
"lockVersion": 13,
"subject": "Lorem"
"parentId": "42"
}

Maybe this was true in an older version? In the current version (7.2.3) this doesn’t do anything.

## Correction:
If you want to change the parent id you need the following code:

{
"lockVersion": 13,
"_links": {"parent": {"href": "/api/v3/work_packages/42"}}
}

I’m not sure if this is the right place to report this. But I didn’t find information about where to report documentation errors. If there is another way intended to report - please tell me.

Back

Loading...