Hi UnevenSquirrel80 ! Pipeline projects are hidden. You can try to pass task_filter={"search_hidden": True, "_allow_extra_fields_": True}
to the query_tasks
function to fetch the tasks from hidden projects
Hi all, I am trying to get all pipeline tasks or task ids from a specific project. The project in the details of one of the pipeline tasks is defined as "<project_name>/.pipelines/<pipeline_name>"
. I get:Task.query_tasks(project_name="<project_name>/.pipelines/<pipeline_name>") -> []
Task.get_tasks(project_name="<project_name>/.pipelines/<pipeline_name>") -> []
APIClient.client.projects.get_all(name="<project_name>/.pipelines/<pipeline_name>") -> empty Project list
butTask.query_tasks(task_name="<pipeline_name>") -> list of task ids
Task.get_tasks(task_name="<pipeline_name>") -> list of tasks
APIClient.client.projects.get_all(id=["id of <project_name>/.pipelines/<pipeline_name>"]) -> Project with name="<project_name>/.pipelines/<pipeline_name>"
Why can't I get the tasks of this pipeline project or even the project by name? Are pipelines not handled like projects? Is there a way to get all pipeline tasks in a project?