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:
authorDerek Campbell <dscamp@gmail.com>2015-02-20 16:20:42 +0300
committerDerek Campbell <dscamp@gmail.com>2015-02-20 16:20:42 +0300
commit874640123b9b508fef40d4285a7c28d7e4653dd7 (patch)
tree3487d81380293702bc8abbf2566010a667c2f790 /doc/api
parent6b0199ffc1c8e6a79b68a510052a1d1713afc29d (diff)
To close an issue you must set 'state_event' to 'close'. I cannot set 'closed' to '1'.
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/issues.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/issues.md b/doc/api/issues.md
index 5a2f6a4c229..a7dd8b74c35 100644
--- a/doc/api/issues.md
+++ b/doc/api/issues.md
@@ -208,7 +208,7 @@ If an error occurs, an error number and a message explaining the reason is retur
## Delete existing issue (**Deprecated**)
-The function is deprecated and returns a `405 Method Not Allowed` error if called. An issue gets now closed and is done by calling `PUT /projects/:id/issues/:issue_id` with parameter `closed` set to 1.
+The function is deprecated and returns a `405 Method Not Allowed` error if called. An issue gets now closed and is done by calling `PUT /projects/:id/issues/:issue_id` with parameter `state_event` set to `close`.
```
DELETE /projects/:id/issues/:issue_id