-
-
Notifications
You must be signed in to change notification settings - Fork 319
Description
Description
Recently, our project started using Gitbeaker, and we’ve encountered a limitation with one of the endpoints.
GET /projects/:id/pipelines/:pipeline_id/jobs
According to the documentation, the scope parameter should accept either a string or an array of strings. However, in the current implementation, it only works with a single string value.
This restriction impacts efficiency—especially when filtering jobs by multiple statuses. In my case, I need to filter by 5 different statuses to find jobs that did not pass (don't have status success), so I can re-run them. Supporting an array for scope would significantly reduce the number of requests needed in such scenarios.
I’m happy to look into implementing a fix, but I wanted to open a discussion first to confirm the best approach.
Thanks in advance for your time and feedback!
Checklist
- I have checked that this is not a duplicate issue.
- I have read the documentation.