Skip to content

Add Requirement export CSV service

Eugenia Grieff requested to merge 290813-export-requirements-service into master

What does this MR do?

Related to #290813 (closed)

To allow Requirements to be exported as a CSV file this MR includes the following:

  • A new service RequirementsManagement::ExportCsvServicewas added, and the logic in common with Issues::ExportCsvService and MergeRequests::ExportCsvService was extracted to Issuable::ExportCsv::BaseService to be reused in the three services.

  • IssuableExportCsvWorker was adapted to export issuables with the new type :requirements.

The worker that schedules the requirements export job will be used in a GraphQL mutation to be added in a different MR.

Email templates preview

non-truncated truncated plain text
Screen_Shot_2020-12-29_at_17.26.26 Screen_Shot_2020-12-29_at_17.34.33 Screen_Shot_2020-12-30_at_10.16.46_AM

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 Eugenia Grieff

Merge request reports