Implement an API endpoint that gives details about all pipelines triggered from a specific pipeline schedule

Currently, we do not have any way of co-relating pipelines with the pipeline schedules they were scheduled from.

It would be nice to have an API like GET /projects/:id/pipeline_schedules/:pipeline_schedule_id/pipelines that gives the list of pipelines that were triggered via a specific pipeline schedule.

I received this request from a family member that uses GitLab at their place of work:

We have multiple pipeline schedules setup at work and we'd like to form some statistics about how many of our pipelines executed via a specific schedule actually succeeded/failed/got interuppted. However, we can't figure out a way to get information about find all pipelines triggered via a specific schedule, so that we can eventually look at all status of these pipelines and build some statistics. Is this possible to do via the API?

Edited Jul 22, 2022 by Manoj M J
Assignee Loading
Time tracking Loading