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 lists principals (users, groups, or placeholder users) from an OpenProject instance. It allows filtering and selecting specific properties of the principals to retrieve. This is useful for workflows that need to manage or analyze user/group data, such as syncing user information, auditing membership in projects, or generating reports on active users.
Practical examples:
- Retrieve all active users belonging to a specific project.
- List all groups with their names and IDs for further processing.
- Filter principals by status to find locked or invited users.
Properties
| Name | Meaning |
|---|---|
| Filters | JSON string specifying filter conditions to narrow down the list of principals. Supported filters include: type (User, Group, PlaceholderUser), member (projects they belong to), name (user or group name), any_name_attribute (first/last name, email, login), and status (active=1, registered=2, locked=3, invited=4). Example default filter returns only users. |
| Select | Comma-separated list of principal properties to include in the response. For example, total,elements/name,elements/self,self. This controls which fields are returned for each principal. |
Output
The output JSON contains a list of principals matching the filter criteria. The structure typically includes:
total: Total number of principals found.elements: An array where each element represents a principal object with requested properties such asname,self(URL to the principal resource), and other selected fields.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential to authenticate with the OpenProject API.
- Needs the base URL of the OpenProject instance configured in credentials.
- Depends on the OpenProject REST API being accessible and properly configured.
Troubleshooting
- Invalid filter JSON: If the
Filtersproperty contains malformed JSON, the API request will fail. Ensure the JSON syntax is correct. - Unsupported filter keys: Using unsupported filter keys may result in empty results or errors. Use only supported filters (
type,member,name,any_name_attribute,status). - Authentication errors: If the API key or URL is incorrect, authentication will fail. Verify credentials and endpoint URL.
- Empty results: If no principals match the filters, the output will have zero elements. Adjust filters accordingly.
- API rate limits or downtime: Network issues or API limits can cause failures; check connectivity and API status.