Skip to content

Querying pipelines by iid

Andy Hohenner requested to merge Querying_pipelines_by_iid into main

Context

when querying the main GitLab repo, querying GraphQL by pipeline GID fails (returns nil) but querying via REST works.

So added logic that if the GID query returns nil, get the IID of the pipeline and redo the GraphQL using the IID, which works and saves a number of REST api calls

Merge request reports

Loading