Skip to content

Resolve "BitBucket Cloud Project Import Failure: NotImplementedError: NotImplementedError"

What does this MR do and why?

!90418 (merged) removed def provider_url for bitbucket importer. While this is actually not used for bitbucket importer (it is being passed to entity serializer which is unified across all projects) it resulted that implementation from base_controller is used which raises "not implemented" error

This MR implements dummy version of provider_url which returns nil and removes unneeded stubs in test, so tests are actually calling this method

Related to #366235 (closed)

How to set up and validate locally

  1. Set-up oauth for bitbucket
  2. New project -> Import -> Bitbucket Cloud
  3. Observe list of groups

MR acceptance checklist

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

Edited by Illya Klymov

Merge request reports