Skip to content

Import requirements via CSV upload

Rajat Jain requested to merge import-requirements into master

What does this MR do?

#246857 (closed)

Adds a button which opens a modal that allows importing of requirements like issues.

Testing

  • Open rails console
  • Enable the feature flag: Feature.enable(:requirements) & Feature.enable(:import_requirements_csv)
  • Debugging: If requirements are not getting imported try restarting rails background jobs: gdk restart rails-background-jobs
  • Sample CSV: sample.csv

Screenshots (strongly suggested)

Modal

image

Success flash message

Screenshot_2020-12-11_at_2.13.58_PM

Imported requirements

Screenshot_2020-12-11_at_2.16.49_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Austin Regnery

Merge request reports

Loading