Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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/unreleased/duplicate-related-mrs.yml
parent941e00121c30baf0bf4e348d0d2b9b28891754d7 (diff)
Remove duplicates from issue related merge requests
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/unreleased/duplicate-related-mrs.yml')
-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