Fix rendering pipelines for a new merge request
What does this MR do?
This MR fixes a bug with invalid pipelines API call, which leads to raising an exception.
Does this MR meet the acceptance criteria?
-
Changelog entry added -
Added tests for this feature/bug
What are the relevant issue numbers?
See https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/8844#note_22930365