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 time entries. It is useful for retrieving logged work hours, filtering them by various criteria such as project, user, or date, and sorting the results. Typical use cases include generating reports on time spent on projects, monitoring ongoing timers, or extracting time entry data for further processing or integration with other tools.
For example, a project manager could use this node to fetch all time entries related to a specific project within a certain date range, sorted by the date they were spent on, to analyze team productivity.
Properties
| Name | Meaning |
|---|---|
| Offset | Page number inside the requested collection. Used for pagination to specify which page of results to retrieve. |
| Page Size | Number of elements to display per page. Controls how many time entries are returned in one request. |
| Sort By | JSON string specifying sort criteria. Accepts an array of arrays where each inner array contains a field name and sort direction ("asc" or "desc"). Supported fields: id, hours, spent_on, created_at, updated_at. For example, [["spent_on", "asc"]] sorts time entries by the date they were spent on in ascending order. |
| Filters | JSON string specifying filter conditions. Supports filtering by: work_package, project, user, ongoing (for ongoing timers), spent_on (date), created_at (creation datetime), updated_at (last update datetime), and activity. The format matches the OpenProject queries endpoint. Example: [{"work_package": {"operator": "=", "values": ["1","2"]}}, {"project": {"operator": "=", "values": ["1"]}}] |
Output
The node outputs a JSON array of time entry objects matching the specified filters and sorting. Each object typically includes details such as the time entry ID, hours logged, associated project or work package, user information, dates (spent on, created at, updated at), and activity type.
No binary data output is indicated by the source code or properties.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- Needs the base URL of the OpenProject instance configured in the credentials.
- Depends on the OpenProject REST API being accessible and properly configured to allow querying time entries.
Troubleshooting
Common issues:
- Incorrect or missing API credentials will cause authentication failures.
- Invalid JSON format in the
Sort ByorFiltersproperties can lead to request errors. - Pagination parameters (
OffsetandPage Size) set incorrectly may result in empty responses or incomplete data. - Filtering by non-existent project, user, or work package IDs will return no results.
Error messages:
- Authentication errors usually indicate invalid API keys or insufficient permissions.
- API response errors related to query parameters often mean malformed JSON or unsupported filter/sort fields.
Resolutions:
- Verify API credentials and permissions.
- Validate JSON syntax in
Sort ByandFilters. - Confirm that referenced IDs exist in the OpenProject instance.
- Adjust pagination settings to match expected data volume.
Links and References
- OpenProject API Documentation - Queries Endpoint
- OpenProject Time Entries API (general reference)