OpenProject icon

OpenProject

Interact with OpenProject via API

Actions199

Overview

This node interacts with the OpenProject API to retrieve details about a specific role by its ID. It is useful in scenarios where you need to fetch role information within an OpenProject instance, such as for user management, permissions auditing, or displaying role details in workflows.

For example, you might use this node to:

  • Get the details of a role before assigning it to a user.
  • Verify the permissions associated with a role during automated checks.
  • Display role metadata in a dashboard or report generated by n8n.

Properties

Name Meaning
Id The unique identifier of the role to view. This is a required numeric value specifying which role's details to retrieve.

Output

The node outputs JSON data representing the details of the requested role. This typically includes fields such as the role's name, description, permissions, and other metadata as provided by the OpenProject API.

No binary data output is expected from this operation.

Dependencies

  • Requires an API key credential for authenticating with the OpenProject API.
  • The base URL of the OpenProject instance must be configured in the node credentials.
  • The node depends on the OpenProject REST API being accessible and the specified role ID existing in the system.

Troubleshooting

  • Invalid Role ID: If the provided role ID does not exist, the API will likely return a 404 error. Ensure the ID is correct and that the role exists.
  • Authentication Errors: Missing or invalid API credentials will cause authentication failures. Verify that the API key and base URL are correctly set in the node credentials.
  • Network Issues: Connectivity problems to the OpenProject server can cause timeouts or connection errors. Check network access and server availability.
  • Permission Denied: The API user may lack permission to view roles. Confirm that the API key has sufficient rights.

Links and References

Discussion