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
path: root/doc/api
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2016-06-11 17:16:32 +0300
committerStan Hu <stanhu@gmail.com>2016-06-12 05:50:08 +0300
commita85dde9182f177cc2fdabd90ccdad870bf4d84c3 (patch)
treeb1658e39b1ea6f4807c8e3cd275b39a9eee5f8f6 /doc/api
parentff345f8ba11658c679b423e06bbc42b90af158eb (diff)
Fix Error 500 when using closes_issues API with an external issue tracker
Closes #18484
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/merge_requests.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/doc/api/merge_requests.md b/doc/api/merge_requests.md
index 16b892dc3b7..2930f615fc1 100644
--- a/doc/api/merge_requests.md
+++ b/doc/api/merge_requests.md
@@ -572,7 +572,7 @@ GET /projects/:id/merge_requests/:merge_request_id/closes_issues
curl -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/76/merge_requests/1/closes_issues
```
-Example response:
+Example response when the GitLab issue tracker is used:
```json
[
@@ -618,6 +618,17 @@ Example response:
]
```
+Example response when an external issue tracker (e.g. JIRA) is used:
+
+```json
+[
+ {
+ "id" : "PROJECT-123",
+ "title" : "Title of this issue"
+ }
+]
+```
+
## Subscribe to a merge request
Subscribes the authenticated user to a merge request to receive notification. If