summaryrefslogtreecommitdiff
path: root/changelogs
diff options
context:
space:
mode:
authorAlexandru Croitor <acroitor@gitlab.com>2019-04-05 19:17:13 +0300
committerAlexandru Croitor <acroitor@gitlab.com>2019-04-05 22:17:07 +0300
commitc56970e3f72192bf02a0cae535b45357981a848a (patch)
treeef5ccf38db8ec76127e42d2811ddaac893c2e3df /changelogs
parent941e00121c30baf0bf4e348d0d2b9b28891754d7 (diff)
downloadgitlab-ce-duplicate-related-mrs.tar.gz
Remove duplicates from issue related merge requestsduplicate-related-mrs
Remove duplicates returned by Issues#related_merge_requests API that relies on ReferencedMergeRequestsService which returns 2 arrays one of related MRs and one of related MRs that close the issue(i.e. a subset of first one). We only need related MRs in this case so just pick the first array.
Diffstat (limited to 'changelogs')
-rw-r--r--changelogs/unreleased/duplicate-related-mrs.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/changelogs/unreleased/duplicate-related-mrs.yml b/changelogs/unreleased/duplicate-related-mrs.yml
new file mode 100644
index 00000000000..0f5f6ede9f8
--- /dev/null
+++ b/changelogs/unreleased/duplicate-related-mrs.yml
@@ -0,0 +1,5 @@
+---
+title: Remove duplicates from issue related merge requests
+merge_request: 27067
+author:
+type: fixed