Skip to content

Fix user recent activity links for work item actions

Mario Celi requested to merge 371209-fix-user-activity-work-item-url into master

What does this MR do and why?

Fixes links on the Activity list of a user profile for work item events.

The default behavior to build a url did not contemplate how to build a work item url, so we need a special rule.

How to set up and validate locally

  1. Add a task to an issue (new feature) image
  2. Your activity feed in /<username> should show a broken link before this change project_path/work_items/IID
  3. With this MR the link should be correct project_path/work_items/ID

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #371209 (closed)

Edited by Mario Celi

Merge request reports