OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node operation allows users to create a non-working day entry within a work schedule in OpenProject. It is useful for marking specific dates as holidays, company-wide off days, or any other type of non-working day that affects project scheduling and resource planning. For example, a project manager can use this node to add public holidays or special leave days so that task deadlines and resource allocations automatically account for these non-working periods.

Properties

Name Meaning
Type The type of the entry to create; here it only supports "Non Working Day".
Date The specific date of the non-working day (format: string, e.g., "2024-12-25").
Name A descriptive name for the non-working day, such as "Christmas Holiday" or "Company Off".
Links JSON object defining API endpoint and method for the request; typically preconfigured.

Output

The node outputs JSON data representing the created non-working day resource as returned by the OpenProject API. This includes details such as the assigned ID, date, name, and type of the non-working day. There is no binary output.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • Needs the base URL of the OpenProject instance configured in the node credentials.
  • Depends on the OpenProject REST API being accessible and properly configured to accept work schedule modifications.

Troubleshooting

  • Common issues:
    • Invalid or missing API credentials will cause authentication errors.
    • Incorrect date format may lead to validation errors from the API.
    • Network connectivity problems can prevent the node from reaching the OpenProject server.
  • Error messages:
    • Authentication failures usually indicate invalid or expired API tokens; recheck and update credentials.
    • Validation errors often specify which property is incorrect; ensure the date is in ISO format and required fields are filled.
    • HTTP errors like 404 or 500 suggest endpoint misconfiguration or server issues; verify the base URL and API availability.

Links and References

Discussion