Skip to content

Add work item import endpoint

What does this MR do and why?

Adds a controller endpoint to allow users to upload a CSV and import work items. We can't use GraphQL for uploads yet #280819. This is consistent with the current Requirements CSV upload.

We must follow https://docs.gitlab.com/ee/development/uploads/index.html#workhorse-assisted-uploads and https://docs.gitlab.com/ee/development/uploads/working_with_uploads.html#adding-a-pre-authorization-endpoint.

I had a look at for development guidelines for Workhorse but I can't find the current version of the doc in gitlab-foss!31290 (diffs).

These changes are behind the FF import_work_items_csv.

Screenshots or screen recordings

This is an endpoint for a future UI change so there isn't any visual change.

How to set up and validate locally

TBD

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #379153 (closed)

Edited by charlie ablett

Merge request reports