Skip to content

Bitbucket importer: small fix-ups

Madelein van Niekerk requested to merge 412614-catch-issue-tracking-error into master

What does this MR do and why?

Fixes for the Bitbucket Cloud parallel importer (behind a feature flag) that were picked up during testing:

  • Increment Metric counters after issues and MRs are created
  • On Bitbucket, it's optional to have an issues tracker. If the project does not have an issues tracker we need to return before calling the issues API to prevent an error from being raised.
  • Allocate iids for issues so that if a new issue is created on bitbucket while the import is busy, the import doesn't fail. This is similar to what the GitHub importer does.
  • Specs

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 #412614 (closed)

Edited by Madelein van Niekerk

Merge request reports

Loading