OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to list non-working days within a specified work schedule. It is useful for project management scenarios where you need to identify holidays, weekends, or other days off that affect scheduling and resource planning. For example, you can retrieve all non-working days between two dates to adjust task deadlines or calculate accurate timelines.

Properties

Name Meaning
Filters JSON string specifying filter conditions to narrow down the non-working days returned. Supports filtering by date intervals using an inclusive range. Example: { "date": { "operator": "<>d", "values": ["2022-05-02","2022-05-26"] } } filters days between May 2 and May 26, 2022.

Output

The node outputs JSON data representing the list of non-working days matching the filter criteria. Each item in the output typically includes details such as the date and possibly additional metadata about the non-working day. The output does not include binary data.

Dependencies

  • Requires an API key credential to authenticate with the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in the node credentials.
  • Depends on the OpenProject REST API endpoint for queries related to work schedules and non-working days.

Troubleshooting

  • Invalid Filter Format: If the filters property contains malformed JSON or unsupported filter keys, the API may return errors. Ensure the filter JSON is correctly formatted and uses supported operators.
  • Authentication Errors: Missing or incorrect API credentials will cause authentication failures. Verify that the API key and base URL are correctly set in the node credentials.
  • Date Range Issues: Providing an invalid date range (e.g., start date after end date) may result in empty results or errors. Double-check the date values in the filters.
  • API Endpoint Changes: If the OpenProject API changes its query format or endpoints, the node might fail. Keep the node and API documentation up to date.

Links and References

Discussion