Skip to content
Snippets Groups Projects

Deprecate post: Global IDs in work items route

Merged Mario Celi requested to merge 393836-deprecate-work-items-gid into master
1 unresolved thread
@@ -6,21 +6,12 @@
stage: Plan
issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/393836
body: |
Usage of global IDs in work item URLs is deprecated and only internal IDs (IID) will be supported in the future.
Usage of global IDs in work item URLs is deprecated. In the future, only internal IDs (IID) will be supported in the future.
Since the introduction of [Tasks](https://docs.gitlab.com/ee/user/tasks.html), tasks as well as OKRs and Objectives
are displayed in a view located in a route like the following:
Because GitLab supports multiple work item types, a path such as `https://gitlab.com/gitlab-org/gitlab/-/work_items/<global_id>` can display, for example, a [task](https://docs.gitlab.com/ee/user/tasks.html) or an [OKR](https://docs.gitlab.com/ee/user/okrs.html).
`https://gitlab.com/gitlab-org/gitlab/-/work_items/<global_id>`
In GitLab 15.10 we added support for using internal IDs (IID) in that path by appending a query param at
the end (`iid_path`) in the following format: `https://gitlab.com/gitlab-org/gitlab/-/work_items/<iid>?iid_path=true`.
Since GitLab 15.10 we have added support for using internal IDs (IID) in that route by appending a query param at
the end (iid_path) in the following format:
`https://gitlab.com/gitlab-org/gitlab/-/work_items/<iid>?iid_path=true`
In GitLab 16.0 we are removing the ability to use a global ID in the work items route. The number at the end of the
path will be considered an internal ID (IID) without the need of adding a query param at the end. Only the following
format will be supported:
`https://gitlab.com/gitlab-org/gitlab/-/work_items/<iid>`
In GitLab 16.0 we will remove the ability to use a global ID in the work items path. The number at the end of the path will be considered an internal ID (IID) without the need of adding a query param at the end. Only the following format will be supported: `https://gitlab.com/gitlab-org/gitlab/-/work_items/<iid>`.
tiers: [Free, Silver, Gold, Core, Premium, Ultimate]
Loading