Content
You are here:
To extract all data from Open Project API
Added by Shachi Yelandur over 4 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)
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"]}}]