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 list roles available in the system. It is useful for retrieving role information, such as which roles are grantable or applicable to certain units (e.g., project or system). Typical use cases include automating user management workflows, syncing roles with other systems, or dynamically populating role selections in other automation steps.
For example, you might use this node to fetch all system-level roles that can be assigned to users, then use that data to control access permissions programmatically.
Properties
| Name | Meaning |
|---|---|
| Filters | A JSON string specifying filter conditions to narrow down the roles returned. Supported filters include: - grantable: filters roles based on whether they can be selected for a membership.- unit: filters roles by the unit type, either "project" or "system". The filter format matches the queries endpoint of OpenProject's API. |
Output
The node outputs a JSON array containing role objects matching the specified filters. Each role object typically includes details such as role ID, name, and attributes indicating its scope and grantability.
No binary data output is produced by this node.
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 properly configured to allow role queries.
Troubleshooting
- Invalid Filter JSON: If the filter property contains malformed JSON, the node will fail to parse it, resulting in an error. Ensure the filter string is valid JSON.
- API Authentication Errors: Missing or incorrect API credentials will cause authentication failures. Verify that the API key and base URL are correctly set.
- Unsupported Filters: Using filters other than
grantableorunitmay result in no data or errors from the API. - Network Issues: Connectivity problems to the OpenProject server will cause request failures. Check network access and firewall settings.
Links and References
- OpenProject API Queries Endpoint Documentation
- OpenProject Roles API Overview (general reference)