Skip to content

Resolve "Feature proposal: API for import from BitBucket Server"

What does this MR do?

The intention is to expose an API endpoint for the Bitbucket Server importer in order to allow programmatic and automated project imports.

The UI currently requires manual user input in order to list Bitbucket Server repositories, before cloning them to GitLab.

Screen_Shot_2020-06-23_at_11.41.21

The API endpoint requires the same input in the form of a POST request payload.

Happy (201) and unhappy (422, 401, etc.) test cases are introduced.

A timed project import rate limit is applied. Details to be determined.

Screenshots

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

Closes #36788 (closed)

Edited by Michael Leopard

Merge request reports