[Compliance Pipelines][FE] Policy Editor uses params to pre-fill form
What does this MR do and why?
This MR implements prepopulating relevant fields in policy editor during compliance framework pipeline configuration migration and ensures we set proper MR title & description when such migration is performed
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
How to set up and validate locally
- Enable feature flag
ff_compliance_pipeline_maintenance_mode
in rails console (rails c
):Feature.enable :ff_compliance_pipeline_maintenance_mode
- Visit compliance center Docs
- Create a framework which uses pipeline configuration path
- Save framework, enter editing of this framework
- Click 'Migrate pipeline to a policy'
- Observe prefilled form
- Create merge request
- Observer merge request title and description
Related to #474383 (closed)
Edited by Sam Figueroa