Bitbucket Cloud Importer - Import images saved in markdown
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
After importing issues and pull requests from Bitbucket Cloud into GitLab, all the images which were directly pasted into markdown (issue and pull request description) are no longer visible.
It appears that the Bitbucket Importer copies the markdown verbatim, including the links to local resources (images). Since those images don't exist in GitLab, they are lost.
Example issue description markdown after importing from Bitbucket:
## Screenshot

Example project
- Bitbucket project: https://bitbucket.org/hdelalic/bb-repo
- Bitbucket issue: https://bitbucket.org/hdelalic/bb-repo/issues/1/my-first-bb-issue
- GitLab project: https://gitlab.com/bb-import/bitbucket-repo
- GitLab issue: bb-import/bitbucket-repo#1
Proposed solution
Scrape any images from markdown and store them in GitLab. Then, update the markdown links to point at the local resources.
After the import from Bitbucket Cloud, any image that was visible in Bitbucket should be visible in GitLab, as well.