Images Migration
Overview
Inline images are images embedded in markdown content using  syntax. Unlike traditional attachments, these are part of the text content and are handled during content formatting.
Migrated Metadata
- Image URLs in Markdown: Preserved in text, with notes for manual upload.
- Alt Text: Maintained in markdown syntax.
- Bitbucket-Hosted Inline Images: Automatically detected and extracted from markdown.
What Gets Detected
The script scans for:
- Markdown image syntax:
 - Images in issue/PR descriptions
- Images in comments
- Bitbucket-hosted images only (external URLs preserved as-is)
What Gets Created
Inline images are modified in the markdown content with upload instructions:
Dry Run Mode

📷 *Inline image: `screenshot.png` (will be downloaded to attachments_temp)*
Manual Upload

📷 *Original Bitbucket image (download from `attachments_temp/screenshot.png` and drag-and-drop here)*
Handling Non-Migratable Information
- Bitbucket-Hosted Images: Detected and downloaded to
attachments_temp/. - Inline Image Detection: Scans issue/PR descriptions and comments for
syntax. - Upload Notes: Added to descriptions/comments indicating where to find and upload images.
- Manual Upload Required: Images must be manually uploaded via drag-and-drop due to GitHub API limitations.
- External Images: Images hosted elsewhere (imgur, etc.) are left as-is.
Difference from Attachments
- Inline Images: Embedded in markdown content using
syntax - Traditional Attachments: Explicitly attached files via Bitbucket's attachment interface
- Processing: Both are downloaded to
attachments_temp/, but inline images modify the markdown content directly (see Attachments Migration)