Skip to content

Add imported_from value to imported github resources

Carla Drago requested to merge 461208-github-imported-from into master

What does this MR do and why?

Adds an imported_from value to relevant resources imported from github.

This adds an imported_from value to issues, issue notes, pull requests, pull request notes, and events imported from github. This allows the imported badge to be displayed in the UI.

Changelog: added

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

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

mov

Before After
mr-before mr-after
issue-before issue-after

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. checkout the branch and restart the gdk
  2. create a repo on GitHub with pull requests, issues, and comments
  3. in the gdk add a project New Project > Import Project > GitHub
  4. import the project
  5. view imported MRs and Issues to see the imported badge is visible.

Related to #461208 (closed)

Merge request reports