pyopenproject
pyopenproject copied to clipboard
Python library to interact with OpenProject API.
Hello, I am trying to filter by custom field, looking only for tasks with a non null value, but it refuses to work: ```python wps = client.get_work_package_service() tasks = wps.find_all([Filter('customField1',...
Create the copy of a project based on its ID endpoint, and also provide the data for the new project. OpenProject Documentation: [Create Project Copy](https://www.openproject.org/docs/api/endpoints/projects/#create-project-copy)
### New Features - [x] More descriptive error codes - [x] All notification methods - [x] Filter improvement in some cases ### Not implemented - [x] Test. Need to update...
Work package update_form is not implemented properly. https://www.openproject.org/docs/api/endpoints/work-packages/#work-package-edit-form L#62 in `pyopenproject/business/services/work_package_service_impl.py` `return UpdateForm(self.connection)` Should be `return UpdateForm(self.connection, work_package).execute()` And` pyopenproject/business/services/command/work_package/update_form.py` needs the post request modified ` json_obj = PostRequest(connection=self.connection, headers={"Content-Type":...
### Issue Subdirectory installations of OpenProject cause issues in some commands when the API generates links that contain relative URLs https://www.openproject.org/docs/installation-and-operations/installation/docker/#2-location-subdirectory ### Example Host: `www.host.com` Subdirectory: `op` **Full base URL**...
Hello there! The requirements pinned the dependencies to very specific version. Notably, the request package, that is more than 2 years old. Is there a reason to pin the version...
HTTPSConnectionPool(host='openproject.sagecloud.it', port=443): Max retries exceeded with url: /api/v3/users (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:997)')))
Hi, i already try the def `add_attachment` in `work_package_service.py`, have bug or i using wrong method ? ``` oP = OpenProject(url=os.getenv('OP_URL'), api_key=os.getenv('OP_APIKEY')) wS = oP.get_work_package_service() aT = oP.get_attachment_service() updates_wP =...
Hi, I've just copy/paste the code bloc of readme and i'v got error : `AttributeError: 'OpenProject' object has no attribute 'get_user_services'` Some module changed ? is really hard to follow...
#33 implements the passing of kwargs to the `requests.(...)` functions. This enables to set client and server certificate, which I consider a bare minimum of transport channel configurations. It is...