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 allows you to create a new "View" in the OpenProject system via its API. A "View" typically represents a saved query or filter configuration that users can reuse to quickly access specific subsets of data within OpenProject. This node is useful when automating project management workflows, such as programmatically setting up custom views for different teams or reporting purposes.
For example, you might use this node to:
- Automatically create a view that filters tasks by priority or status.
- Set up personalized dashboards for team members based on their roles.
- Generate views that aggregate issues related to specific milestones or sprints.
Properties
| Name | Meaning |
|---|---|
| Id | The unique identifier for the view you want to create. |
| Links | JSON object representing additional query parameters or links associated with the view. |
The Links property expects a JSON structure, which by default contains an empty query object. This allows you to specify complex nested parameters that define how the view behaves or what it links to.
Output
The node outputs JSON data representing the newly created view as returned by the OpenProject API. This typically includes details such as the view's ID, configuration, and any metadata provided by the server.
If the API supports binary data for views (not indicated here), the node would handle it accordingly, but based on the code and properties, the output is purely JSON.
Dependencies
- Requires an API key credential for authenticating with the OpenProject API.
- The base URL for the OpenProject instance must be configured in the node credentials.
- The node depends on the OpenProject REST API being accessible and properly configured to accept view creation requests.
Troubleshooting
- Invalid or missing Id: Since the
Idproperty is required, ensure it is provided and unique. Duplicate IDs may cause errors. - Malformed JSON in Links: The
Linksproperty expects valid JSON. Invalid JSON syntax will cause parsing errors. - Authentication errors: Verify that the API key credential is correct and has sufficient permissions to create views.
- API endpoint unreachable: Check network connectivity and the correctness of the base URL.
- Unexpected API responses: Inspect the raw response for error messages from OpenProject, which may indicate permission issues or invalid request formats.