Skip to content

Delete work item project.fullPath

Coung Ngo requested to merge cngo-delete-work-item-project-fullpath into master

What does this MR do and why?

Delete work item project.fullPath

Previously, we could view any work item at route /gitlab-org/gitlab-test/-/work_items/<id>. However, the work item could be part of a project outside of gitlab-org/gitlab-test since we were getting the details by ID, so we updated code to get the work item's project.fullPath so we could fetch the assignees etc from the correct project.

Now, we fetch by IID at /gitlab-org/gitlab-test/-/work_items/<iid> so we always view a work item within the same project. As a result, we no longer need project.fullPath

Screenshots or screen recordings

How to set up and validate locally

  1. Create a task in an issue
  2. Open the task
  3. Confirm you can add emojis and mark as todo/done with no problem

MR acceptance checklist

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

Edited by Coung Ngo

Merge request reports