Skip to content

Update synthetic note

Carla Drago requested to merge 470490-update-synthetic-note into master

What does this MR do and why?

Adds the correct imported_from value to the synthetic note created at runtime for ResourceMilestoneEvent, ResourceLabelEvent, and ResourceStateEvent records. This results in "imported" being displayed next to Label, Milestone, and State events in Issue, MR, Epic activity logs.

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.

Before
Screenshot_2024-08-05_at_14.36.39
After
Screenshot_2024-08-06_at_11.42.27

How to set up and validate locally

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

  1. Ensure DT is enabled
  2. ensure you are on master branch
  3. ensure you have an issue in a group project with that has been added to a milestone, closed and then opened, and had labels added
  4. Trigger a DT via the api
  5. Observe the results in the imported issue's activity - the imported text should not appear on the relevant activity
  6. check out to this branch
  7. Trigger a DT via the api
  8. Observe the results in the imported issue's activity - the imported text should appear on the relevant activity

Related to #470490 (closed)

Edited by Carla Drago

Merge request reports

Loading