Add `imported_from` value to bb server prs and comments
What does this MR do and why?
This adds an imported_from value to pull requests, and pull request comments imported from bitbucket server.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
bb-s-1 Screenshots are required for UI changes, and strongly recommended for all other merge requests.
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
Please note: As setting up a local instance of BitBucket Server is not straightforward I've included a video above of the flow to demonstrate it is working as expected.
- set up a local BitBucket Server using docker and these instructions. Create a repository with pull requests and comments in the pull requests. Create an HTML access token in the account settings.
- check out and run the branch. Make sure the BitBucket Server importer is enabled in Admin > Settings > General > Import and export settings > Import sources
- connect the gdk to your bitbucket server with your BB Server credentials and access token: New Project > Import Project > BitBucket Server
- import your repository.
Related to #461211 (closed)
Edited by Carla Drago

