Bitbucket importer: small fix-ups
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
iid
s 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.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #412614 (closed)
Edited by Madelein van Niekerk