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. To extract all data from Open Project API

To extract all data from Open Project API

Added by Shachi Yelandur about 5 years ago

Hello

We are trying to pull all tasks details (all status - open/closed/inprogress) but what is happening while using url:https://{Domain_url}/openproject/api/v3/projects/{ProjectID}/work_packages .    We get the JSON only with New or Inprogress.   Even if we give filter option to get the closed ones its not working.   So had few questions

a) Is this the right API to call to get all tasks?

b) Is there any other filter or option that needs to be used to get information of closed tasks as well?

Any suggestion would be helpful.   We have searched enough and not getting anywhere.

Regards


Replies (1)

RE: To extract all data from Open Project API - Added by Shachi Yelandur almost 5 years ago

Using api with filters we are able to get the closed tasks.    Below is the format

/api/v3/work_packages?filters=[{"status":{"operator":"=","values":["13"]}}]

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