Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

document lifecycle filters in api

ulferts71b3bd5bffe7
diff --git a/docs/api/apiv3/paths/projects.yml b/docs/api/apiv3/paths/projects.yml
index 995bcaa8ec7..6196ad98000 100644
--- a/docs/api/apiv3/paths/projects.yml
+++ b/docs/api/apiv3/paths/projects.yml
@@ -24,7 +24,9 @@ get:
+ ancestor: filters projects by their ancestor. A project is not considered to be its own ancestor.
+ available_project_attributes: filters projects based on the activated project project attributes.
+ created_at: based on the time the project was created
+ + id: based on projects' id.
+ latest_activity_at: based on the time the last activity was registered on a project.
+ + lcsd_any: based on the project lifecycle steps active in a project.
+ name_and_identifier: based on both the name and the identifier.
+ parent_id: filters projects by their parent.
+ principal: based on members of the project.
@@ -32,10 +34,14 @@ get:
+ storage_url: filters projects by linked storages identified by the host url
+ type_id: based on the types active in a project.
+ user_action: based on the actions the current user has in the project.
- + id: based on projects' id.
+ visible: based on the visibility for the user (id) provided as the filter value. This filter is useful for admins to identify the projects visible to a user.
There might also be additional filters based on the custom fields that have been configured.
+
+ Each defined lifecycle step will also define a filter in this list endpoint. Given that the elements are not
+ static but rather dynamically created on each OpenProject instance, a list cannot be provided. Those filters follow the schema:
+ + lcsd_gate_[id]: a filter on project lifecycle gates active in a project. The id is the id of the gate to query for.
+ + lcsd_stage_[id]: a filter on project lifecycle stage active in a project. The id is the id of the stage to query for.
example: '[{ "ancestor": { "operator": "=", "values": ["1"] }" }]'
- name: sortBy
schema: