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 operation, List Capabilities under the Actions Capabilities resource, retrieves a list of capabilities from OpenProject based on specified filter and sorting criteria. It is useful for scenarios where you want to query what actions or permissions are available for certain principals (users or groups), contexts (such as projects or global scope), or specific actions within OpenProject.
Practical examples include:
- Fetching all capabilities assigned to a particular user or group.
- Listing capabilities available within a specific project context.
- Retrieving capabilities related to a specific action to understand permission scopes.
Properties
| Name | Meaning |
|---|---|
| Filters | JSON string specifying filter conditions to narrow down the capabilities returned. It accepts the same format as OpenProject's queries endpoint. Examples: - Filter by action to get all capabilities of that action. - Filter by principal to get all capabilities of a user/group. - Filter by context to get capabilities within a project ( p{id}) or global (g) context. |
| Sort By | JSON string specifying sort criteria for the results. Accepts the same format as OpenProject's queries endpoint. Currently supports sorting by id in ascending or descending order. Default is ascending by id. |
Output
The node outputs JSON data representing the list of capabilities matching the provided filters and sorted according to the specified criteria. Each capability item typically includes details such as its ID, associated action, principal, and context.
No binary data output is involved.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- The node depends on the OpenProject REST API being accessible at the URL configured in the credentials.
- No additional external dependencies beyond the OpenProject API and n8n's HTTP request capabilities.
Troubleshooting
- Invalid JSON in Filters or Sort By: Since both properties expect JSON strings, malformed JSON will cause errors. Ensure the JSON syntax is correct before running the node.
- Authentication Errors: If the API key or base URL is incorrect or missing, the node will fail to connect. Verify credentials and endpoint URL.
- Empty Results: If filters are too restrictive or incorrectly formatted, no capabilities may be returned. Try broadening filters or removing them to test connectivity.
- Unsupported Sort Fields: Sorting by fields other than
idis not supported and may cause errors or ignored parameters.