OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to update a specific time entry. It is designed to modify details of an existing time entry identified by its unique ID. This operation is useful in scenarios where users need to correct or adjust logged work times, such as updating hours worked on a project task or correcting an erroneous time record.

Practical examples include:

  • Adjusting the duration of a time entry after realizing the initially logged time was incorrect.
  • Adding additional notes or metadata to a previously created time entry.
  • Synchronizing time tracking data from other tools by updating entries in OpenProject.

Properties

Name Meaning
Id The unique identifier of the time entry to update. This is a required numeric field specifying which time entry will be modified.

Output

The node outputs JSON data representing the updated time entry object returned by the OpenProject API. This typically includes fields such as the time entry's ID, updated attributes (e.g., hours, comments), timestamps, and related project or user information.

No binary data output is involved in this operation.

Dependencies

  • Requires an API key credential for authenticating requests to the OpenProject API.
  • The node depends on the OpenProject API endpoint URL configured in the credentials.
  • Uses standard HTTP headers for JSON content negotiation (Accept: application/json, Content-Type: application/json).

Troubleshooting

  • Common issues:

    • Invalid or missing time entry ID: Ensure the "Id" property is correctly set to an existing time entry's numeric ID.
    • Authentication errors: Verify that the API key credential is valid and has sufficient permissions to update time entries.
    • Network or connectivity problems: Confirm that the OpenProject instance URL is reachable from n8n.
    • API rate limits or restrictions: Check if the OpenProject API enforces limits that might block frequent updates.
  • Error messages:

    • 404 Not Found: The specified time entry ID does not exist. Double-check the ID value.
    • 401 Unauthorized: Authentication failed due to invalid or missing API credentials.
    • 400 Bad Request: The request payload may be malformed or missing required fields.

Resolving these usually involves verifying input parameters, credentials, and network access.

Links and References

Discussion