Update synthetic note
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 |
---|
After |
---|
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Ensure DT is enabled
- ensure you are on
master
branch - 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
- Trigger a DT via the api
- Observe the results in the imported issue's activity - the imported text should not appear on the relevant activity
- check out to this branch
- Trigger a DT via the api
- 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