Actions199
- Collections Actions
- Forms Actions
- Actions Capabilities Actions
- Activities Actions
- Attachments Actions
- Budgets Actions
- Categories Actions
- Custom Actions Actions
- Custom Options Actions
- Documents Actions
- File Links Actions
- View File Link
- Delete File Link
- Open File Link
- Download File Link
- List Project Storages
- Get Project Storage
- Open Project Storage
- Create Storage
- Get Storage
- Update Storage
- Delete Storage
- Get Storage Files
- Prepare Storage File Upload
- Create Storage Folder
- Create Storage Oauth Credentials
- Open Storage
- Create Work Package File Link
- List Work Package File Links
- Grids Actions
- Groups Actions
- Help Texts Actions
- Memberships Actions
- Query Filter Instance Schema Actions
- News Actions
- Notifications Actions
- O Auth 2 Actions
- Posts Actions
- Principals Actions
- Priorities Actions
- Query Columns Actions
- Query Filters Actions
- Query Operators Actions
- Query Sort Bys Actions
- Relations Actions
- Previewing Actions
- Revisions Actions
- Roles Actions
- Time Entries Actions
- Time Entry Activities Actions
- Types Actions
- User Preferences Actions
- Wiki Pages Actions
- Work Schedule Actions
- Meetings Actions
- Values Property Actions
- Projects Actions
- Queries Actions
- Users Actions
- Statuses Actions
- Versions Actions
- Work Packages Actions
- Get Project Work Package Collection
- Create Project Work Package
- List Work Package File Links
- Form Create Work Package In Project
- Project Available Assignees
- List Work Packages
- Create Work Package
- Form Create Work Package
- List Work Package Schemas
- View Work Package Schema
- Delete Work Package
- View Work Package
- Update Work Package
- List Work Package Activities
- Comment Work Package
- Work Package Available Assignees
- Available Projects For Work Package
- List Available Relation Candidates
- Available Watchers
- Create Work Package File Link
- Form Edit Work Package
- Revisions
- Reminders
- List Watchers
- Add Watcher
- Remove Watcher
- Views Actions
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
- OpenProject API Documentation
- OpenProject Roles API Reference (for detailed role data structure)