Expose work_item_id for legacy epics
What does this MR do and why?
Expose work_item_id for legacy epics
Exposes the work_item_id for legacy epics to make it easier to map the legacy epic IDs to the new work item.
Changelog: added EE: true
References
Screenshots or screen recordings
| Before | After |
|---|---|
How to set up and validate locally
query {
group(fullPath:"gitlab-org") {
epics {
nodes{
id
workItemId
}
}
}
}
- REST API
curl --header "PRIVATE-TOKEN: PAT \
"http://gdk.test:3000/api/v4/groups/gitlab-org/epics" | jq '.[] | {id: .id, work_item_id: .work_item_id}'
{
"id": 9,
"work_item_id": 620
}
{
"id": 8,
"work_item_id": 619
}
{
"id": 6,
"work_item_id": 617
}
{
"id": 7,
"work_item_id": 618
}
{
"id": 10,
"work_item_id": 621
}
➜ gitlab git:(nd/work-item-id-for-epics) ✗
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Edited by Nicolas Dular

