Skip to content

Link CI job URL and relate rollout issues

Peter Leitzen requested to merge pl-relate-issues into master

This MR links the CI job URL (if present) and relates existing rollout issues to the report issue to increase visibility.

It also adds a new mode to test creating issues via CREATE_ISSUE=test. This mode uses https://gitlab.com/gitlab-org/quality/engineering-productivity/triage-ops-playground/ by default and only creates a single report issue.

Example issue: https://gitlab.com/gitlab-org/quality/engineering-productivity/triage-ops-playground/-/issues/67

CI job URL Related rollout issues
Screenshot_from_2024-03-01_13-13-03 Screenshot_from_2024-03-01_12-58-31

How test locally

CREATE_ISSUE=test GITLAB_TOKEN bundle exec bin/feature-flag-alert

CI_JOB_URL=https://gitlab.com/gitlab-org/quality/toolbox/-/jobs/6294852535 CREATE_ISSUE=test GITLAB_TOKEN=$GITLAB_API_PRIVATE_TOKEN bin/feature-flag-alert
Edited by Peter Leitzen

Merge request reports