[go: up one dir, main page]

Skip to content

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

![](https://bitbucket.org/repo/Lbr48Xo/images/2221926740-image.png)

Example project

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.

Edited by 🤖 GitLab Bot 🤖